Skip to content

Vizel API / react/src / VizelToolbarProps

Interface: VizelToolbarProps

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

Properties

children?

ts
optional children?: ReactNode;

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

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


className?

ts
optional className?: string;

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

Additional CSS class name


editor?

ts
optional editor?: Editor | null;

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

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:16

Locale for translated UI strings


showDefaultToolbar?

ts
optional showDefaultToolbar?: boolean;

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

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

Released under the MIT License.