Properties of a ToggleButton component displayed by the toolbar.

interface ToggleButtonProps {
    ariaLabel?: string;
    disabled?: boolean;
    icon: ReactNode;
    size?: number | "small" | "medium" | "large";
    tooltip?: string;
    value: string;
}

Properties

ariaLabel?: string

Aria label.

disabled?: boolean

Set to true to disable this button.

icon: ReactNode

An icon that will be displayed in this button.

size?: number | "small" | "medium" | "large"

The button size.

tooltip?: string

A tooltip of this button.

value: string

The value represented by this toggle button.