ItemProps Interface
Beta
Properties of Item component.
Extends
Properties
| Name | Type | Description | |
|---|---|---|---|
| badge | undefined | React.ReactNode | A badge to draw. | |
| icon | undefined | React.ReactNode | button icon. | |
| isActive | undefined | false | true | Describes if item is active. | |
| isDisabled | undefined | false | true | Describes if the item is disabled. | |
| onClick | undefined | () => void | Function called when the item is clicked. | |
| onKeyDown | undefined | (e: KeyboardEvent) => void | Function called when a key is pressed. | |
| onSizeKnown | undefined | (size: SizeProps) => void | Function called when size is known. | |
| title | undefined | string | Title for the item. |
Inherited properties
| Name | Type | Inherited from | Description |
|---|---|---|---|
| className | undefined | string | ClassNameProps | Custom CSS class name |
| style | undefined | React.CSSProperties | CommonProps | Custom CSS style properties |
Defined in
Last Updated: 08 January, 2020