Interface MenuItemProps<E, D>
Type parameters
E: HTMLElement = HTMLDivElement
D = any | undefined
Properties
Optional autoFocus
autoFocus?: boolean
Optional disabled
disabled?: boolean
Optional searchLabel
searchLabel?: string
Methods
renderItem
- renderItem(props: MenuItemRenderProps<E, D>): null | ReactElement<any, string | JSXElementConstructor<any>>
Parameters
Returns null | ReactElement<any, string | JSXElementConstructor<any>>