CommandItemProps Interface
Properties for a Command item.
Extends
- ItemProps
- CommandHandler
Properties
| Name | Type | Description | |
|---|---|---|---|
| commandId | undefined | string |
Inherited properties
| Name | Type | Inherited from | Description |
|---|---|---|---|
| betaBadge | undefined | false | true | ItemProps | Indicates whether to draw a Beta badge. |
| execute | undefined | (args?: any) => any | CommandHandler | Function to execute |
| getCommandArgs | undefined | () => any[] | CommandHandler | Function to get the parameters passed to the function |
| iconSpec | undefined | IconSpec | IconProps | CSS class name or SvgSprite for icon |
| parameters | undefined | any | CommandHandler | Parameters passed to the function |
Defined in
Last Updated: 08 January, 2020