@mocanvas/mocanvas · function
declare function TldrawUiMenuItem({ id, label, icon, kbd, title, disabled, isSelected, noClose, children, onSelect }: TLUiMenuItemProps): react.JSX.ElementOne menu item, in whatever shape its context calls for.
label is display text, already localized: an id with no dictionary entry
resolves to itself, so passing a literal is safe.
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.