mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-26 18:00:43 +01:00
fix(NavigationMenu): label doesn't need to be typed as number
This commit is contained in:
@@ -14,7 +14,7 @@ const appConfig = _appConfig as AppConfig & { ui: { navigationMenu: Partial<type
|
|||||||
const navigationMenu = tv({ extend: tv(theme), ...(appConfig.ui?.navigationMenu || {}) })
|
const navigationMenu = tv({ extend: tv(theme), ...(appConfig.ui?.navigationMenu || {}) })
|
||||||
|
|
||||||
export interface NavigationMenuLink extends LinkProps {
|
export interface NavigationMenuLink extends LinkProps {
|
||||||
label: string | number
|
label: string
|
||||||
icon?: IconProps['name']
|
icon?: IconProps['name']
|
||||||
avatar?: AvatarProps
|
avatar?: AvatarProps
|
||||||
badge?: string | number | BadgeProps
|
badge?: string | number | BadgeProps
|
||||||
|
|||||||
Reference in New Issue
Block a user