rc-textarea
Pretty Textarea react component used in used in ant.design
Last updated 4 years ago by afc163 .
MIT · Repository · Bugs · Original npm
$ cnpm install rc-textarea 
SYNC missed versions from official npm registry.

rc-textarea

NPM version dumi 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 - Height autosize feature, can be set to true\|false or an object { minRows: 2, maxRows: 6 }
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.

Current Tags

  • 1.0.1                                ...           latest (3 years ago)

9 Versions

  • 1.0.1                                ...           3 years ago
  • 0.4.7                                ...           3 years ago
  • 0.4.6                                ...           3 years ago
  • 0.4.5                                ...           3 years ago
  • 0.3.7                                ...           4 years ago
  • 0.3.5                                ...           4 years ago
  • 0.3.4                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.3.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (21)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org