lx-view-toggler
v1.1.2
Published
Toggles view between mobile and desktop states
Downloads
2
Readme
What is this?
A react module toggles view between mobile and desktop states
Installation
yarn add lx-view-toggler
Then....
import ViewToggler, { getConfig } from 'lx-view-toggler'
//Console log the config model structure.
console.log(getConfig())
const viewTogglerConfig = {
//add options
}
//
<ViewToggler config={viewTogglerConfig}>Pass content here...</ViewToggler>