Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MenuItemProps<E, D>

Type parameters

  • E: HTMLElement = HTMLDivElement

  • D = any | undefined

Hierarchy

  • MenuItemProps

Index

Properties

Optional autoFocus

autoFocus?: boolean

Optional data

data?: D

Optional disabled

disabled?: boolean

Optional id

id?: ItemId

Optional searchLabel

searchLabel?: string

Optional type

Methods

Optional onSelect

  • onSelect(): void

renderItem

  • renderItem(props: MenuItemRenderProps<E, D>): null | ReactElement<any, string | JSXElementConstructor<any>>

Generated using TypeDoc