fix(NavigationMenu): label doesn't need to be typed as number

This commit is contained in:
Benjamin Canac
2024-03-27 16:46:32 +01:00
parent 4301821473
commit ee1d6ed08f

View File

@@ -14,7 +14,7 @@ const appConfig = _appConfig as AppConfig & { ui: { navigationMenu: Partial<type
const navigationMenu = tv({ extend: tv(theme), ...(appConfig.ui?.navigationMenu || {}) })
export interface NavigationMenuLink extends LinkProps {
label: string | number
label: string
icon?: IconProps['name']
avatar?: AvatarProps
badge?: string | number | BadgeProps