1.0.13 • Published 7 years ago
react-extend v1.0.13
react-extend
install
npm install react-extend
or
yarn add react-extend
feature
- fetch
- Promise
- when
- isFunction
- addClass/removeClass
- initState(originalState)
components
- bootstrap
- Calendar
- Toast
- Typeahead
- weiui
Usage
const {initState} = require('react-extend');
class User extends React.Component {
constructor(props) {
super(props);
this.state = initState();
}
...
}