Skip to content

Interface: BaseMenuItemProps ​

Extends ​

  • Record<string, any>

Extended by ​

Indexable ​

[key: string]: any

Properties ​

children? ​

optional children?: ReactNode


className? ​

optional className?: string


color? ​

optional color?: MenuItemColor


disabled? ​

optional disabled?: boolean


dontCloseOnActionIfHoldingShiftKey? ​

optional dontCloseOnActionIfHoldingShiftKey?: boolean


focusedClassName? ​

optional focusedClassName?: string


icon? ​

optional icon?: FunctionComponent<DiscordIconProps>


id ​

id: string


keepItemStyles? ​

optional keepItemStyles?: boolean


subtext? ​

optional subtext?: string

Methods ​

action()? ​

optional action(event): void

Parameters ​

ParameterType
eventMouseEvent

Returns ​

void


imageUrl()? ​

optional imageUrl(props): string

Parameters ​

ParameterType
propsunknown

Returns ​

string