Skip to content

Vizel API / react/src / VizelToolbarButtonProps

Interface: VizelToolbarButtonProps

Defined in: packages/react/src/components/VizelToolbarButton.tsx:3

Properties

action?

ts
optional action?: string;

Defined in: packages/react/src/components/VizelToolbarButton.tsx:17

Action identifier for testing


children

ts
children: ReactNode;

Defined in: packages/react/src/components/VizelToolbarButton.tsx:11

Button content (typically an icon)


className?

ts
optional className?: string;

Defined in: packages/react/src/components/VizelToolbarButton.tsx:15

Additional CSS class name


disabled?

ts
optional disabled?: boolean;

Defined in: packages/react/src/components/VizelToolbarButton.tsx:9

Whether the button is disabled


isActive?

ts
optional isActive?: boolean;

Defined in: packages/react/src/components/VizelToolbarButton.tsx:7

Whether the action is currently active


onClick?

ts
optional onClick?: () => void;

Defined in: packages/react/src/components/VizelToolbarButton.tsx:5

Click handler

Returns

void


title?

ts
optional title?: string;

Defined in: packages/react/src/components/VizelToolbarButton.tsx:13

Tooltip text

Released under the MIT License.