@mocanvas/mocanvas · function
declare function TldrawUiMenuSubmenu({ id, label, disabled, children }: TLUiMenuSubmenuProps): react.JSX.ElementA nested menu.
Flattens into a plain group in the icon-only contexts: a grid of buttons has nowhere to hang a submenu off, and hiding items behind one that cannot open would lose 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.