1.0.0 • Published 6 years ago
react-state-switch v1.0.0
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
1.0.0
6 years ago