{"repo":"react-component/virtual-list","free":true,"listed":false,"github":"https://github.com/react-component/virtual-list","clone":"git clone https://github.com/react-component/virtual-list.git","description":"📜 Virtual scrolling list component for React.","language":"TypeScript","stars":815,"topics":["antd","react","react-component","ant-design","javascript"],"license":"MIT","category":"ui-components","readme_excerpt":"@rc-component/virtual-list Part of the Ant Design ecosystem. 📜 Virtual scrolling list component for React. English 简体中文 Highlights - Built for React and maintained by the rc-component team. - Used by Ant Design and other React component libraries. - Ships TypeScript declarations with both ES module and CommonJS outputs. - Keeps examples, tests, and preview builds aligned with the package source. Install Usage Examples Run the local dumi site: Then open http://localhost:8000 . API List Prop Description Type Default ---------- ---------------------------------------------------------------------------------------------------------------------- -------------------------------------- ------- children Render function for each item. The third argument contains measuring props used by legacy browser compatibility paths. (item, index, props) = ReactElement - component Custom list container element. string \\ ComponentType div data Items rendered by the virtual list. T[] - disabled Disable scroll position checks, usually while coordinating animation. boolean false fullHeight Whether the holder should keep full height. boolean true height Visible list height. number - itemHeight Minimum item height used to calculate the virtual range. number - itemKey Key field or key getter for items. string \\ (item) = React.Key - onScroll Called when the list scrolls. React.UIEventHandler - styles Custom scrollbar part styles. object - virtual Enable virtual rendering. boolean true Development The du","default_branch":null,"files":null,"tree":[],"storefront":"/r/react-component","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/react-component/virtual-list/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}