@mocanvas/mocanvas · function

BreakPointProvider

declare function BreakPointProvider({ forceMobile, children }: BreakPointProviderProps): react.JSX.Element

Measures the editor's container and publishes its breakpoint.

Starts at DESKTOP and narrows once measured: chrome that starts full and settles narrower reads as a layout, while chrome that starts collapsed and expands reads as a glitch.

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.