1.0.0 • Published 4 years ago
@feizheng/react-input v1.0.0
react-input
Pure input for react.
installation
npm install -S @feizheng/react-input
update
npm update @feizheng/react-input
properties
property | type | default | description |
---|---|---|---|
className | String | - | - |
value | String | - | - |
onChange | Function | Noop | - |
usage
import css
@import "~@feizheng/react-input/dist/style.scss"; // customize your styles: $react-input-options: ()
import js
import React from 'react'; import ReactDOM from 'react-dom'; import ReactInput from '@feizheng/react-input'; // your app: class App extends React.Component{ render(){ return ( <ReactInput /> ) } } // render to dom: ReactDOM.render(<App/>, document.getElementById('app'));
documentation
1.0.0
4 years ago