{"name":"@rc-component/textarea","version":"1.1.2","keywords":["react","react-component","react-textarea","textarea","antd","ant-design"],"license":"MIT","_id":"@rc-component/textarea@1.1.2","maintainers":[{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"},{"name":"peachscript","email":"scdzwyxst@gmail.com"},{"name":"chenshuai2144","email":"wasd2144@hotmail.com"}],"homepage":"https://react-component.github.io/textarea","bugs":{"url":"http://github.com/react-component/textarea/issues"},"dist":{"shasum":"2daa5dcb997840040fb8892b0d601ef28d9d1f37","tarball":"http://registry-npm.ywwl.com/@rc-component/textarea/download/@rc-component/textarea-1.1.2.tgz","fileCount":25,"integrity":"sha512-9rMUEODWZDMovfScIEHXWlVZuPljZ2pd1LKNjslJVitn4SldEzq5vO1CL3yy3Dnib6zZal2r2DPtjy84VVpF6A==","signatures":[{"sig":"MEUCIQDrDdGgGzBmZa5JFRw59kUGsJENU8GIkL3QEFSLYNz9GQIgYnpGutdSOxv15ZBrVc5SelBvRMmwUkT9RuUSrYBcZXQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50797,"size":9614,"noattachment":false,"key":"/@rc-component/textarea/-/@rc-component/textarea-1.1.2.tgz"},"main":"./lib/index","husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"types":"./lib/index.d.ts","module":"./es/index","gitHead":"17f20cd4fe2b9b4efd3eb624fba7143d9ace76a3","scripts":{"lint":"eslint src/ --ext .ts,.tsx,.jsx,.js,.md","test":"rc-test","start":"dumi dev","compile":"father build && lessc assets/index.less assets/index.css","coverage":"rc-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 && rc-np"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+ssh://git@github.com/react-component/textarea.git","type":"git"},"_npmVersion":"10.9.2","description":"Pretty Textarea react component used in used in ant.design","directories":{},"_nodeVersion":"22.15.1","dependencies":{"clsx":"^2.1.1","@rc-component/util":"^1.3.0","@rc-component/input":"~1.1.0","@rc-component/resize-observer":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"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","rc-test":"^7.1.1","gh-pages":"^3.1.0","prettier":"^2.0.5","coveralls":"^3.0.6","cross-env":"^7.0.2","react-dom":"^18.0.0","@types/node":"^24.5.2","@types/react":"^18.0.0","pretty-quick":"^2.0.1","@umijs/fabric":"^2.0.8","@rc-component/np":"^1.0.3","@types/react-dom":"^18.0.0","@testing-library/react":"^15.0.0","@testing-library/jest-dom":"^5.16.5","@rc-component/father-plugin":"^2.0.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/textarea_1.1.2_1762153232399_0.3376962981937799","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":1762153232591,"_cnpm_publish_time":1762153232591,"dist-tags":{"latest":"1.3.0"}}