DefaultToolbar
Public readonly variable
The default toolbar for the editor. children
defaults to the DefaultToolbarContent
component.
Depending on the screen size, the children will overflow into a drop-down menu, with the most
recently active item from the overflow being shown in the main toolbar.
Signature
DefaultToolbar: import('react').NamedExoticComponent<{
children?: ReactNode
}>
Source
packages/tldraw/src/lib/ui/components/Toolbar/DefaultToolbar.tsx