react-state-switch
v1.0.0
Published
Toggle boolean state in React easily with a render prop - no classes needed
Downloads
2
Readme
react-state-switch
Toggle boolean state in React easily with a render prop - no classes needed
Install
npm install --save react-state-switch
Usage
import React, { Component } from 'react'
import MyComponent from 'react-state-switch'
class Example extends Component {
render () {
return (
<MyComponent />
)
}
}
License
MIT © eedrah