@mocanvas/mocanvas · function

DefaultHelperButtonsContent

declare function DefaultHelperButtonsContent(): react.JSX.Element | null

The helper buttons' items: "back to content", shown only when there is content and none of it is on screen.

The condition is the whole feature. A button that is always there is clutter; one that appears exactly when the user has panned into empty space is the difference between a lost document and a recovered one.

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.