{"name":"rc-virtual-list","version":"3.16.0","description":"React Virtual List Component","engines":{"node":">=8.x"},"keywords":["react","react-component","virtual-list"],"homepage":"https://github.com/react-component/virtual-list","author":{"name":"smith3816@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/react-component/virtual-list.git"},"bugs":{"url":"https://github.com/react-component/virtual-list/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","scripts":{"start":"dumi dev","build":"dumi build","compile":"father build","prepublishOnly":"npm run compile && np --no-cleanup --yolo --no-publish","lint":"eslint src/ --ext .tsx,.ts","test":"rc-test","now-build":"npm run build"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"devDependencies":{"@rc-component/father-plugin":"^1.0.2","@testing-library/jest-dom":"^5.17.0","@testing-library/react":"^12.1.5","@types/classnames":"^2.2.10","@types/enzyme":"^3.10.5","@types/jest":"^25.1.3","@types/react":"^18.0.8","@types/react-dom":"^18.0.3","@types/warning":"^3.0.0","cheerio":"1.0.0-rc.12","cross-env":"^5.2.0","dumi":"^2.2.17","enzyme":"^3.1.0","enzyme-adapter-react-16":"^1.15.6","enzyme-to-json":"^3.1.4","eslint":"^8.56.0","eslint-plugin-unicorn":"^55.0.0","father":"^4.4.0","glob":"^7.1.6","np":"^5.0.3","rc-animate":"^2.9.1","rc-test":"^7.0.15","react":"16.14.0","react-dom":"16.14.0","typescript":"^5.0.0"},"dependencies":{"@babel/runtime":"^7.20.0","classnames":"^2.2.6","rc-resize-observer":"^1.0.0","rc-util":"^5.36.0"},"_id":"rc-virtual-list@3.16.0","gitHead":"aaabcb8503e0e5c89919854ad2ba7c4d90285aae","types":"./lib/index.d.ts","_nodeVersion":"22.5.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-tRpWBC0msU+MxFxnD6+y4v0P17Yzplf+mbiHrqRvfVanx0S4o0XV+2zu4vv7hM9nNfcucO+MPHivqpRT2lfnFQ==","shasum":"c20ca33cb85b68eea5bc70d5d7ea4d4a225a14d4","tarball":"http://registry-npm.ywwl.com/rc-virtual-list/download/rc-virtual-list-3.16.0.tgz","fileCount":87,"unpackedSize":143722,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXlzrLvsc69BaGhDcIbdJEU27zkSpe88car86BkQPOIAIgRsdfZAkXVVah1xfFK9LRldUvZkYN+EJAgXgyM53hAqc="}],"size":23112,"noattachment":false,"key":"/rc-virtual-list/-/rc-virtual-list-3.16.0.tgz"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rc-virtual-list_3.16.0_1733364888414_0.9118785345976259"},"_hasShrinkwrap":false,"readme":"# rc-virtual-list\n\nReact Virtual List Component which worked with animation.\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) [![build status][github-actions-image]][github-actions-url] [![Test coverage][coveralls-image]][coveralls-url] [![node version][node-image]][node-url] [![npm download][download-image]][download-url]\n\n[npm-image]: http://img.shields.io/npm/v/rc-virtual-list.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/rc-virtual-list\n[github-actions-image]: https://github.com/react-component/virtual-list/workflows/CI/badge.svg\n[github-actions-url]: https://github.com/react-component/virtual-list/actions\n[coveralls-image]: https://img.shields.io/codecov/c/github/react-component/virtual-list/master.svg?style=flat-square\n[coveralls-url]: https://codecov.io/gh/react-component/virtual-list\n[node-image]: https://img.shields.io/badge/node.js-%3E=_6.0-green.svg?style=flat-square\n[node-url]: http://nodejs.org/download/\n[download-image]: https://img.shields.io/npm/dm/rc-virtual-list.svg?style=flat-square\n[download-url]: https://npmjs.org/package/rc-virtual-list\n\n## Online Preview\n\nhttps://virtual-list-react-component.vercel.app/\n\n## Development\n\n```bash\nnpm install\nnpm start\nopen http://localhost:9001/\n```\n\n## Feature\n\n- Support react.js\n- Support animation\n- Support IE11+\n\n## Install\n\n[![rc-virtual-list](https://nodei.co/npm/rc-virtual-list.png)](https://npmjs.org/package/rc-virtual-list)\n\n## Usage\n\n```js\nimport List from 'rc-virtual-list';\n\n<List data={[0, 1, 2]} height={200} itemHeight={30} itemKey=\"id\">\n  {index => <div>{index}</div>}\n</List>;\n```\n\n# API\n\n## List\n\n| Prop       | Description                                             | Type                                                                                                                                                                                  | Default |\n| ---------- | ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |\n| children   | Render props of item                                    | (item, index, props) => ReactElement                                                                                                                                                  | -       |\n| component  | Customize List dom element                              | string \\| Component                                                                                                                                                                   | div     |\n| data       | Data list                                               | Array                                                                                                                                                                                 | -       |\n| disabled   | Disable scroll check. Usually used on animation control | boolean                                                                                                                                                                               | false   |\n| height     | List height                                             | number                                                                                                                                                                                | -       |\n| itemHeight | Item minium height                                      | number                                                                                                                                                                                | -       |\n| itemKey    | Match key with item                                     | string                                                                                                                                                                                | -       |\n| styles     | style                                                   | { horizontalScrollBar?: React.CSSProperties; horizontalScrollBarThumb?: React.CSSProperties; verticalScrollBar?: React.CSSProperties; verticalScrollBarThumb?: React.CSSProperties; } | -       |\n\n`children` provides additional `props` argument to support IE 11 scroll shaking.\nIt will set `style` to `visibility: hidden` when measuring. You can ignore this if no requirement on IE.\n","publish_time":1733364888720,"maintainers":[{"name":"afc163","email":"afc163@gmail.com"},{"name":"zombiej","email":"smith3816@gmail.com"}],"_cnpm_publish_time":1733364888720,"dist-tags":{"latest":"3.19.2"}}