32 lines
462 B
TypeScript
32 lines
462 B
TypeScript
import { ReactNode } from "react"
|
|
|
|
|
|
export type NavItem = {
|
|
title: string
|
|
href: string
|
|
icon?: ReactNode
|
|
isActive?: boolean
|
|
badge?: string | number
|
|
items?: NavSubItem[]
|
|
}
|
|
|
|
export type NavSubItem = {
|
|
title: string
|
|
href: string
|
|
icon?: ReactNode
|
|
isActive?: boolean
|
|
}
|
|
|
|
export type NavGroup = {
|
|
label?: string
|
|
items: NavItem[]
|
|
}
|
|
|
|
export type UserInfo = {
|
|
name: string
|
|
email?: string
|
|
avatar?: string
|
|
initials?: string
|
|
role?: string
|
|
}
|