@mocanvas/mocanvas · function

KeyboardShortcutsDialogContents

declare function KeyboardShortcutsDialogContents(_props: TLUiDialogProps): ReactNode

The form the dialog stack wants: a component taking onClose.

addDialog({ component: KeyboardShortcutsDialogContents }) is the whole call, which is why this exists separately from the panel above.

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.