@mocanvas/mocanvas · function

DefaultQuickActions

declare function DefaultQuickActions({ children }: TLUiQuickActionsProps): react.JSX.Element | null

The always-visible row of common actions, and the row the actions menu rides at the end of.

It used to carry no mocanvas-panel class, which is the selector its own rule declares its variables on — so gap and bottom were both invalid and the row rendered unstyled and cramped at the top of the canvas instead of anywhere it was meant to be.

Removing this slot removes the row, and with it the actions menu it carries; an app that wants one without the other replaces this with its own row.

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.