{"name":"rc-textarea","version":"1.9.0","keywords":["react","react-component","react-textarea","textarea","antd","ant-design"],"license":"MIT","_id":"rc-textarea@1.9.0","maintainers":[{"name":"afc163","email":"afc163@gmail.com"},{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"lixuan","email":"kermitlx@outlook.com"},{"name":"madccc","email":"1075746765@qq.com"}],"homepage":"https://react-component.github.io/textarea","bugs":{"url":"http://github.com/react-component/textarea/issues"},"dist":{"shasum":"d807194ebef90f25f0b9501cddf5e8f2968d598a","tarball":"http://registry-npm.ywwl.com/rc-textarea/download/rc-textarea-1.9.0.tgz","fileCount":25,"integrity":"sha512-dQW/Bc/MriPBTugj2Kx9PMS5eXCCGn2cxoIaichjbNvOiARlaHdI99j4DTxLl/V8+PIfW06uFy7kjfUIDDKyxQ==","signatures":[{"sig":"MEUCIBGDgEeTIv/HLRIrGsPkudHCsZCJSHozkes79xvdUkZuAiEA12MXdxWaistdOduKkBLn4hzsLHtxWtn+CNV/rMfUqc4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":63486,"size":10865,"noattachment":false,"key":"/rc-textarea/-/rc-textarea-1.9.0.tgz"},"main":"./lib/index","husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"types":"./lib/index.d.ts","module":"./es/index","gitHead":"27cc60c7e1efa8feb8bd021d509d2f62f8b6a42d","scripts":{"lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","test":"umi-test","start":"dumi dev","compile":"father build && lessc assets/index.less assets/index.css","coverage":"umi-test --coverage","gh-pages":"npm run docs:build && npm run docs:deploy","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","postpublish":"npm run gh-pages","pretty-quick":"pretty-quick","prepublishOnly":"npm run compile && np --yolo --no-publish"},"_npmUser":{"name":"afc163","email":"afc163@gmail.com"},"repository":{"url":"git+ssh://git@github.com/react-component/textarea.git","type":"git"},"_npmVersion":"10.8.3","description":"Pretty Textarea react component used in used in ant.design","directories":{},"_nodeVersion":"22.8.0","dependencies":{"rc-util":"^5.27.0","rc-input":"~1.7.1","classnames":"^2.2.1","@babel/runtime":"^7.10.1","rc-resize-observer":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"np":"^5.1.0","dumi":"^2.0.0","less":"^3.10.3","husky":"^4.2.5","react":"^18.0.0","eslint":"^7.0.0","father":"^4.0.0","cheerio":"1.0.0-rc.12","gh-pages":"^3.1.0","prettier":"^2.0.5","umi-test":"^1.9.7","coveralls":"^3.0.6","cross-env":"^7.0.2","react-dom":"^18.0.0","@types/react":"^18.0.0","pretty-quick":"^2.0.1","@umijs/fabric":"^2.0.8","@types/react-dom":"^18.0.0","@types/classnames":"^2.2.9","@testing-library/react":"^15.0.0","@testing-library/jest-dom":"^5.16.5","@rc-component/father-plugin":"^1.0.0"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/rc-textarea_1.9.0_1735631700561_0.9561811531590905","host":"s3://npm-registry-packages-npm-production"},"readme":"# rc-textarea\n\n[![NPM version][npm-image]][npm-url] [![dumi](https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square)](https://github.com/umijs/dumi) [![npm download][download-image]][download-url] [![build status][github-actions-image]][github-actions-url] [![Codecov][codecov-image]][codecov-url] [![bundle size][bundlephobia-image]][bundlephobia-url]\n\n[npm-image]: http://img.shields.io/npm/v/rc-textarea.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/rc-textarea\n[github-actions-image]: https://github.com/react-component/textarea/workflows/CI/badge.svg\n[github-actions-url]: https://github.com/react-component/textarea/actions\n[codecov-image]: https://img.shields.io/codecov/c/github/react-component/textarea/master.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/react-component/textarea/branch/master\n[download-image]: https://img.shields.io/npm/dm/rc-textarea.svg?style=flat-square\n[download-url]: https://npmjs.org/package/rc-textarea\n[bundlephobia-url]: https://bundlephobia.com/result?p=rc-textarea\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-textarea\n\nPretty Textarea react component used in [ant.design](https://ant.design).\n\n## Live Demo\n\nhttps://react-component.github.io/textarea/\n\n## Install\n\n[![rc-textarea](https://nodei.co/npm/rc-textarea.png)](https://npmjs.org/package/rc-textarea)\n\n## Usage\n\n```js\nimport Textarea from 'rc-textarea';\nimport { render } from 'react-dom';\n\nrender(<Textarea />, mountNode);\n```\n\n## API\n\n| Property     | Type                        | Default     | Description                                                                                    |\n| ------------ | --------------------------- | ----------- | ---------------------------------------------------------------------------------------------- |\n| prefixCls    | string                      | rc-textarea |                                                                                                |\n| className    | string                      | ''          | additional class name of textarea                                                              |\n| style        | React.CSSProperties         | -           | style properties of textarea                                                                   |\n| autoSize     | boolean \\| object           | -           | Height autosize feature, can be set to `true\\|false` or an object `{ minRows: 2, maxRows: 6 }` |\n| onPressEnter | function(e)                 | -           | The callback function that is triggered when Enter key is pressed                              |\n| onResize     | function({ width, height }) | -           | The callback function that is triggered when resize                                            |\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## License\n\nrc-textarea is released under the MIT license.\n","publish_time":1735631700753,"_cnpm_publish_time":1735631700753,"dist-tags":{"latest":"1.10.2"}}