Skip to content

Commit

Permalink
feat: Update ChildrenProps interface
Browse files Browse the repository at this point in the history
AlbertZhaoCA committed Dec 3, 2024
1 parent e60b07e commit e93b0c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
@@ -4,6 +4,12 @@ import { type z } from "zod";
import type { Icons } from "@/components/icons";
import { type userPrivateMetadataSchema } from "@/lib/validations/auth";

export type ChildrenProps<T = React.ReactNode> = {
children: T;
className?: string;
style?: React.CSSProperties;
};

export interface NavItem {
title: string;
href?: string;

0 comments on commit e93b0c4

Please sign in to comment.