@mocanvas/mocanvas · interface
interface TLUiToolbarPropsThe toolbar primitive, and the buttons that go in it.
A toolbar is not a list of buttons: it is one tab stop, and the arrow keys
move within it. Browsers give you none of that for free, so the roving
tabindex lives here — a caller composing TldrawUiToolbarButtons gets the
keyboard behaviour without writing any of it.
Properties · 6
children?: ReactNodeclassName?: string | undefinedlabel: stringorientation?: "horizontal" | "vertical"ref?: Ref<HTMLDivElement> | undefinedstyle?: CSSProperties | undefinedMentioned here
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.