@rc-component/textarea
Pretty Textarea react component used in used in ant.design
Last updated 5 months ago by zombiej .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @rc-component/textarea 
SYNC missed versions from official npm registry.

rc-textarea

NPM version dumi npm download build status Codecov 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.2.0                                ...           latest (a month ago)

5 Versions

  • 1.2.0                                ...           a month ago
  • 1.1.2                                ...           5 months ago
  • 1.1.1                                ...           7 months ago
  • 1.1.0                                ...           9 months ago
  • 1.0.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (22)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |