Back to Tldraw

Force mobile layout

apps/examples/src/examples/ui/force-mobile/README.md

5.0.1224 B
Original Source

Force the editor UI to render as if it were on a mobile device.


This example shows how you can force the editor to use the mobile breakpoint's UI layout. To do this, pass the forceMobile prop to the editor component.