@mocanvas/mocanvas · function
declare function ZoomOrRotateMenuItem(): react.JSX.ElementZoom to fit, or rotate — whichever the pointer device suggests.
SEMANTICS-ASSUMED: mocanvas has no rotate-the-canvas feature, so this shows the zoom half unconditionally. It exists under its documented name so a menu composed of these items does not have a hole in it, and so the rotate half can be filled in later without any caller changing.
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.