garage-erp/base/types/navigation.ts
2026-03-26 03:49:05 +03:00

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
}