@mocanvas/mocanvas · function

useToolsOverride

declare function useToolsOverride(): TLUiToolsContextType | null

The tool list published by the nearest TldrawUiToolsProvider, if any.

Mentioned 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.