@mocanvas/mocanvas · function
declare function buildDefaultToolItems(editor: Editor): TLUiToolsContextTypeBuild the default tool list for an editor. The geo kinds without a toolbar button of their own are included too: they are real, selectable tools that live behind the "more shapes" popover, and an app rebuilding the toolbar should be able to surface them.
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.