Name Last Update
..
assets Loading commit data...
es Loading commit data...
lib Loading commit data...
HISTORY.md Loading commit data...
LICENSE.md Loading commit data...
README.md Loading commit data...
package.json Loading commit data...

rc-textarea

NPM version npm download build status Codecov Dependencies DevDependencies bundle size

Pretty Textarea react component used in ant.design.

Live Demo

https://react-component.github.io/textarea/

Install

rc-textarea

Usage

import Textarea from 'rc-textarea';
import { render } from 'react-dom';

render(<Textarea />, mountNode);

API

Property Type Default Description
prefixCls string rc-textarea
className string '' additional class name of textarea
style React.CSSProperties - style properties of textarea
autoSize boolean \ object -
onPressEnter function(e) - The callback function that is triggered when Enter key is pressed
onResize function({ width, height }) - The callback function that is triggered when resize

Development

npm install
npm start

License

rc-textarea is released under the MIT license.