Forked chat
This commit is contained in:
16
types/menu.ts
Normal file
16
types/menu.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import type React from "react"
|
||||
|
||||
export interface MenuItem {
|
||||
id: string
|
||||
label: string
|
||||
children?: MenuItem[]
|
||||
onClick?: () => void
|
||||
icon?: React.ReactNode
|
||||
disabled?: boolean
|
||||
isActive?: boolean
|
||||
isVisible?: boolean
|
||||
isSelected?: boolean
|
||||
isExpanded?: boolean
|
||||
isLoading?: boolean
|
||||
isChecked?: boolean
|
||||
}
|
||||
Reference in New Issue
Block a user