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