Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 415 Bytes

toolbar.en-US.md

File metadata and controls

19 lines (14 loc) · 415 Bytes

Toolbars

A toolbar that can be configuated with the command buttons and control its available and disabled states.

Usage

It must be used with the <Command /> component.

import GGEditor, { Flow, Command, Toolbar } from 'gg-editor';

<GGEditor>
  <Flow />
  <Toolbar>
    <Command name="undo">Undo</Command>
    <Command name="redo">Redo</Command>
  </Toolbar>
</GGEditor>