{"name":"rc-virtual-list","version":"3.18.5","keywords":["react","react-component","virtual-list"],"author":{"name":"smith3816@gmail.com"},"license":"MIT","_id":"rc-virtual-list@3.18.5","maintainers":[{"name":"afc163","email":"afc163@gmail.com"},{"name":"zombiej","email":"smith3816@gmail.com"},{"name":"madccc","email":"1075746765@qq.com"}],"homepage":"https://github.com/react-component/virtual-list","bugs":{"url":"https://github.com/react-component/virtual-list/issues"},"dist":{"shasum":"5ce9a68cc755df024526033d7993ace911197c23","tarball":"http://registry-npm.ywwl.com/rc-virtual-list/download/rc-virtual-list-3.18.5.tgz","fileCount":87,"integrity":"sha512-1FuxVSxhzTj3y8k5xMPbhXCB0t2TOiI3Tq+qE2Bu+GGV7f+ECVuQl4OUg6lZ2qT5fordTW7CBpr9czdzXCI7Pg==","signatures":[{"sig":"MEQCIEnoQlWuV1Kla1DAi3j/CUSVM9gu6Exd2GRSThLWynvlAiBFY5nxMdQqfAtd8YvURet3CwNopFUm3S33x4eC20o7Jw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":147879,"size":23745,"noattachment":false,"key":"/rc-virtual-list/-/rc-virtual-list-3.18.5.tgz"},"main":"./lib/index","types":"./lib/index.d.ts","module":"./es/index","engines":{"node":">=8.x"},"gitHead":"42cf3d786fe850c378f4ce069a9ae0b863bb7f91","scripts":{"lint":"eslint src/ --ext .tsx,.ts","test":"rc-test","build":"dumi build","start":"dumi dev","compile":"father build","now-build":"npm run build","prepublishOnly":"npm run compile && np --no-cleanup --yolo --no-publish"},"_npmUser":{"name":"zombiej","email":"smith3816@gmail.com"},"repository":{"url":"git+https://github.com/react-component/virtual-list.git","type":"git"},"_npmVersion":"10.8.2","description":"React Virtual List Component","directories":{},"_nodeVersion":"22.5.1","dependencies":{"rc-util":"^5.36.0","classnames":"^2.2.6","@babel/runtime":"^7.20.0","rc-resize-observer":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"np":"^5.0.3","dumi":"^2.2.17","glob":"^7.1.6","react":"16.14.0","enzyme":"^3.1.0","eslint":"^8.56.0","father":"^4.4.0","cheerio":"1.0.0-rc.12","rc-test":"^7.0.15","cross-env":"^5.2.0","react-dom":"16.14.0","rc-animate":"^2.9.1","typescript":"^5.0.0","@types/jest":"^25.1.3","@types/react":"^18.0.8","@types/enzyme":"^3.10.5","@types/warning":"^3.0.0","enzyme-to-json":"^3.1.4","@types/react-dom":"^18.0.3","@types/classnames":"^2.2.10","eslint-plugin-unicorn":"^55.0.0","@testing-library/react":"^12.1.5","enzyme-adapter-react-16":"^1.15.6","@testing-library/jest-dom":"^5.17.0","@rc-component/father-plugin":"^1.0.2"},"peerDependencies":{"react":">=16.9.0","react-dom":">=16.9.0"},"_npmOperationalInternal":{"tmp":"tmp/rc-virtual-list_3.18.5_1742497128550_0.8264930772425447","host":"s3://npm-registry-packages-npm-production"},"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:8000/\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 minimum 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":1742497128773,"_cnpm_publish_time":1742497128773,"dist-tags":{"latest":"3.19.2"}}