{"name":"rc-textarea","version":"1.10.2","description":"Pretty Textarea react component used in used in ant.design","keywords":["react","react-component","react-textarea","textarea","antd","ant-design"],"main":"./lib/index","module":"./es/index","homepage":"https://react-component.github.io/textarea","repository":{"type":"git","url":"git+ssh://git@github.com/react-component/textarea.git"},"bugs":{"url":"http://github.com/react-component/textarea/issues"},"license":"MIT","scripts":{"start":"dumi dev","docs:build":"dumi build","docs:deploy":"gh-pages -d .doc","compile":"father build && lessc assets/index.less assets/index.css","gh-pages":"npm run docs:build && npm run docs:deploy","prepublishOnly":"npm run compile && np --yolo --no-publish --branch=antd-5.x","postpublish":"npm run gh-pages","lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"","pretty-quick":"pretty-quick","test":"umi-test","coverage":"umi-test --coverage"},"dependencies":{"@babel/runtime":"^7.10.1","classnames":"^2.2.1","rc-input":"~1.8.0","rc-resize-observer":"^1.0.0","rc-util":"^5.27.0"},"devDependencies":{"@rc-component/father-plugin":"^1.0.0","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^15.0.0","@types/classnames":"^2.2.9","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^2.0.8","coveralls":"^3.0.6","cross-env":"^7.0.2","dumi":"^2.0.0","eslint":"^7.0.0","father":"^4.0.0","gh-pages":"^3.1.0","husky":"^4.2.5","less":"^3.10.3","np":"^10.2.0","prettier":"^2.0.5","pretty-quick":"^2.0.1","react":"^18.0.0","react-dom":"^18.0.0","cheerio":"1.0.0-rc.12","umi-test":"^1.9.7"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"_id":"rc-textarea@1.10.2","gitHead":"243312f416e337268c01492e49cd5c671fd4be63","types":"./lib/index.d.ts","_nodeVersion":"22.15.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-HfaeXiaSlpiSp0I/pvWpecFEHpVysZ9tpDLNkxQbMvMz6gsr7aVZ7FpWP9kt4t7DB+jJXesYS0us1uPZnlRnwQ==","shasum":"459e3574a95c32939c6793045a1e4db04cb514cc","tarball":"http://registry-npm.ywwl.com/rc-textarea/download/rc-textarea-1.10.2.tgz","fileCount":25,"unpackedSize":61356,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE/D+4BF2EF/PGmWy2S5lNPrNlwSoTzHOuVPTMYqR/Z8AiEAnvYOLOcEBsHD/IrlkULAZ5yp3Ht4rM38UvIz61WQ4Y0="}],"size":10611,"noattachment":false,"key":"/rc-textarea/-/rc-textarea-1.10.2.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"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"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rc-textarea_1.10.2_1753775416044_0.6653594425763876"},"_hasShrinkwrap":false,"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":1753775416220,"_cnpm_publish_time":1753775416220,"dist-tags":{"latest":"1.10.2"}}