Skip to content

Vizel API / react/src / VizelToolbarProps

Interface: VizelToolbarProps ​

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

Properties ​

children? ​

ts
optional children?: ReactNode;

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

Custom toolbar content. When provided, replaces the default toolbar.


className? ​

ts
optional className?: string;

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

Additional CSS class name


editor? ​

ts
optional editor?: Editor | null;

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

Editor instance. Falls back to the editor from VizelProvider / Vizel context if omitted.


locale? ​

ts
optional locale?: VizelLocale;

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

Locale for translated UI strings


showDefaultToolbar? ​

ts
optional showDefaultToolbar?: boolean;

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

Whether to show the default toolbar (default: true). Set to false when using custom children.

Released under the MIT License.