Mobile Viewer Component
Need to present your react-based mobile web app in a desktop browser... Here is a React component that you can use to wrap your app. This does not replace browser dev tools.
npm install mobile-viewer-component
yarn add mobile-viewer-component
import MobileWrapper from "mobile-viewer-component/dist";
- Wrap it around your
Appcomponent, or the top level component that has content. No need to wrap any context providers, etc.
<MobileWrapper ='weave'><App /></MobileWrapper>
There are a few preset CSS backgrounds that you can use. They were implemented with CSS from https://leaverou.github.io/css3patterns/.
To set the background provide a value to the
background prop in
...coming soon... 😉