react-switcher
1.0.2 • Public • Published React Switcher
Demo
Installation
npm install --save react-switcher
Usage
import Switcher from 'react-switcher';
<Switcher
on={this.state.isLocal}
onClick={() => this.setState({ isLocal: !this.state.isLocal })}
>
Use local server
</Switcher>
License
MIT
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.2
450
Version History
Package Sidebar
Install
Weekly Downloads