{"name":"@rc-component/textarea","version":"1.2.0","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 && rc-np","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":"rc-test","coverage":"rc-test --coverage"},"dependencies":{"@rc-component/input":"~1.2.0","@rc-component/resize-observer":"^1.0.0","@rc-component/util":"^1.3.0","clsx":"^2.1.1"},"devDependencies":{"@rc-component/father-plugin":"^2.0.2","@rc-component/np":"^1.0.3","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^15.0.0","@types/node":"^24.5.2","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@umijs/fabric":"^4.0.0","cheerio":"1.0.0-rc.12","dumi":"^2.0.0","eslint":"^8.0.0","father":"^4.0.0","gh-pages":"^3.1.0","husky":"^4.2.5","less":"^3.10.3","prettier":"^2.0.5","pretty-quick":"^2.0.1","rc-test":"^7.1.1","react":"^18.0.0","react-dom":"^18.0.0"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"husky":{"hooks":{"pre-commit":"pretty-quick --staged"}},"gitHead":"7251daeb9b41491e9e107504cde3a5006cd11e54","types":"./lib/index.d.ts","_id":"@rc-component/textarea@1.2.0","_nodeVersion":"22.15.1","_npmVersion":"11.7.0","dist":{"integrity":"sha512-nRBGLPyiNUXDXfWuvBzbiM3z56RhUnnltR4xfddbkEOTy0MBYArGcZKb+ulcM3olZvbluVlu3h8fKDkzKi39YA==","shasum":"5d85bfc2b93d8c99b1b733c2ec3e1adeb42e89d9","tarball":"http://registry-npm.ywwl.com/@rc-component/textarea/download/@rc-component/textarea-1.2.0.tgz","fileCount":25,"unpackedSize":50743,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCDr/8U71Y8oNdxHDoZz+N6IsNrGsT+IMNlHUKnhKxVLwIga6wY1sbOWt7mjFyxzW+JSGhKup68pQ3SmxluG+yPwzI="}],"size":9583,"noattachment":false,"key":"/@rc-component/textarea/-/@rc-component/textarea-1.2.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"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"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/textarea_1.2.0_1773114258985_0.48688238634565395"},"_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":1773114259210,"_cnpm_publish_time":1773114259210,"dist-tags":{"latest":"1.3.0"}}