@mocanvas/mocanvas · function
declare function TldrawUiMenuToolItem({ toolId, label, icon, disabled }: TLUiMenuToolItemProps): react.JSX.Element | nullA menu item driven by the tool list, showing whether its tool is active.
Renders nothing when the tool is not registered, for the same reason TldrawUiMenuActionItem does.
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.