{"_id":"99cloud-rc-virtual-list","name":"99cloud-rc-virtual-list","dist-tags":{"latest":"3.5.8"},"versions":{"3.5.8":{"name":"99cloud-rc-virtual-list","version":"3.5.8","description":"React Virtual List Component","engines":{"node":">=8.x"},"keywords":["react","react-component","virtual-list"],"homepage":"https://github.com/PossibleMaybe/virtual-list","author":{"name":"17602170958@163.com"},"repository":{"type":"git","url":"git+https://github.com/PossibleMaybe/virtual-list.git"},"bugs":{"url":"https://github.com/PossibleMaybe/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":"father test","now-build":"npm run build"},"peerDependencies":{"react":"*","react-dom":"*"},"devDependencies":{"@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","cross-env":"^5.2.0","dumi":"^1.1.12","enzyme":"^3.1.0","enzyme-adapter-react-16":"^1.0.2","enzyme-to-json":"^3.1.4","eslint":"^7.6.0","father":"^2.29.10","glob":"^7.1.6","np":"^5.0.3","rc-animate":"^2.9.1","react":"^v16.9.0-alpha.0","react-dom":"^v16.9.0-alpha.0","typescript":"^4.0.0"},"dependencies":{"@babel/runtime":"^7.20.0","classnames":"^2.2.6","rc-resize-observer":"^1.0.0","rc-util":"^5.15.0"},"gitHead":"281be195fa14d62f4749147b2fe4052b9166b845","_id":"99cloud-rc-virtual-list@3.5.8","_nodeVersion":"12.22.12","_npmVersion":"6.14.16","dist":{"integrity":"sha512-ZmacINEOB7PYJCz9nUsySIQ5PiNM2P4rsZ9ZBZahTZw0qbsYHixdQb9LVOK59w7Q7zliFXvoqybgSDFhitfmbw==","shasum":"2028a02716af459d8069c783129fdede51ab4b3f","tarball":"https://registry.npmjs.org/99cloud-rc-virtual-list/-/99cloud-rc-virtual-list-3.5.8.tgz","fileCount":70,"unpackedSize":100393,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEZYkROCrNVyP/kLzNCHtUh8J/EfxMDmaIpYcSRK38JTAiEAi0V3FB6WpL9vqY1bQ6tw6PVTDYpZLjJ4ywDjsPpyPZs="}]},"_npmUser":{"name":"possiblemaybe","email":"17602170958@163.com"},"directories":{},"maintainers":[{"name":"possiblemaybe","email":"17602170958@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/99cloud-rc-virtual-list_3.5.8_1692062739289_0.9801865423989113"},"_hasShrinkwrap":false}},"time":{"created":"2023-08-15T01:25:39.288Z","3.5.8":"2023-08-15T01:25:39.460Z","modified":"2023-08-15T01:25:39.690Z"},"maintainers":[{"name":"possiblemaybe","email":"17602170958@163.com"}],"description":"React Virtual List Component","homepage":"https://github.com/PossibleMaybe/virtual-list","keywords":["react","react-component","virtual-list"],"repository":{"type":"git","url":"git+https://github.com/PossibleMaybe/virtual-list.git"},"author":{"name":"17602170958@163.com"},"bugs":{"url":"https://github.com/PossibleMaybe/virtual-list/issues"},"license":"MIT","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\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","readmeFilename":"README.md"}