New to KendoReact? Start a free 30-day trial
CommandInterface
CommandInterfacePremium
An interface for the command in the Command view.
| Name | Type | Default | Description | 
|---|---|---|---|
| children? | 
 | Collection with nested commands. | |
| id | 
 | The unique identifier of the command. | |
| prompt? | 
 | Optional prompt function that takes selected text and returns a formatted prompt. This is used by default commands and can be used by custom commands. | |
| svgIcon? | 
 | Specifies the name of the SVG icon that will be rendered for the command. | |
| text | 
 | Specifies the command text. |