Interface for CommandToolbarButtonComponent props.

interface IProps {
    args?: ReadonlyJSONObject;
    caption?: string;
    commands: CommandRegistry;
    icon?: LabIcon;
    id: string;
    label?: string | CommandFunc<string>;
}

Properties

Command arguments

caption?: string

Overrides command caption

commands: CommandRegistry

Application commands registry

icon?: LabIcon

Overrides command icon

id: string

Command unique id

label?: string | CommandFunc<string>

Overrides command label