@mocanvas/mocanvas · interface
interface TLUiKbdPropsA keyboard shortcut, rendered.
Takes the shortcut in the same "mod+shift+z" notation the tool and action
items carry, so a menu row can pass an item's kbd straight through instead
of every call site formatting it.
Properties · 3
children?: ReactNode"mod+z", "shift+r", "?". Comma-separated alternatives: only the first is shown.
className?: stringisApple?: booleanForce Apple-style glyphs. Detected from the platform when omitted.
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.