@mocanvas/mocanvas · function

TldrawUiMenuGroup

declare function TldrawUiMenuGroup({ id, label, className, children }: TLUiMenuGroupProps): react.JSX.Element

A run of related items, with a rule between it and the next.

Renders nothing when it has no children, so a group whose items all decided not to render does not leave a stray divider behind.

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.