{"name":"react-window","version":"1.8.11","keywords":["react","reactjs","virtual","window","windowed","list","scrolling","infinite","virtualized","table","grid","spreadsheet"],"author":{"url":"https://github.com/bvaughn/","name":"Brian Vaughn","email":"brian.david.vaughn@gmail.com"},"license":"MIT","_id":"react-window@1.8.11","maintainers":[{"name":"brianvaughn","email":"briandavidvaughn@gmail.com"},{"name":"mjackson","email":"mjijackson+npm@gmail.com"}],"contributors":[{"url":"https://github.com/bvaughn/","name":"Brian Vaughn","email":"brian.david.vaughn@gmail.com"}],"homepage":"http://react-window.now.sh/","bugs":{"url":"https://github.com/bvaughn/react-window/issues"},"dist":{"shasum":"a857b48fa85bd77042d59cc460964ff2e0648525","tarball":"http://registry-npm.ywwl.com/react-window/download/react-window-1.8.11.tgz","fileCount":25,"integrity":"sha512-+SRbUVT2scadgFSWx+R1P754xHPEqvcfSfVX10QYg6POOz+WNgkN48pS+BtZNIMGiL1HYrSEiCkwsMS15QogEQ==","signatures":[{"sig":"MEUCIQCJ8CPZj3f/Izwu3okcy4qzYCsRq+EXIrbUxeUMut3IUgIgXOft4Bb96ZXmNDh1rPopcQn6piLIh5b1hqlJ82xG7Ec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":895819,"size":186633,"noattachment":false,"key":"/react-window/-/react-window-1.8.11.tgz"},"main":"dist/index.cjs.js","module":"dist/index.esm.js","engines":{"node":">8.0.0"},"gitHead":"72db696dd8ebb7f0f287c78d037ff68ba9534183","scripts":{"flow":"flow check --max-warnings=0 src && flow check website","linc":"lint-staged","lint":"eslint '**/*.js'","test":"cross-env CI=1 react-scripts test --env=jsdom","build":"del dist && mkdir dist && yarn build:flow && yarn build:source","start":"rollup -c -w","prepare":"yarn run build","prettier":"prettier --write '**/*.{js,json,css}'","precommit":"lint-staged","build:flow":"cp flow-template dist/index.cjs.js.flow && cp flow-template dist/index.esm.js.flow","test:watch":"react-scripts test --env=jsdom","website:run":"cd website && yarn start","build:source":"rollup -c","website:build":"cd website && yarn build","website:deploy":"cd website && yarn deploy"},"_npmUser":{"name":"brianvaughn","email":"briandavidvaughn@gmail.com"},"repository":{"url":"git+https://github.com/bvaughn/react-window.git","type":"git"},"_npmVersion":"9.6.6","description":"React components for efficiently rendering large, scrollable lists and tabular data","directories":{},"lint-staged":{"**/*.js":"eslint --max-warnings 0","{website,src}/**/*.{js,json,css}":["prettier --write","git add"]},"sideEffects":false,"_nodeVersion":"20.2.0","dependencies":{"memoize-one":">=3.1.1 <6","@babel/runtime":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"react":"^17.0.1","eslint":"^4.19.1","rollup":"^1.4.1","del-cli":"^1.1.0","flow-bin":"^0.111.0","gh-pages":"^1.1.0","prettier":"^1.12.1","react-is":"^17.0.1","cross-env":"^5.1.4","react-dom":"^17.0.1","babel-core":"^7.0.0-bridge.0","@babel/core":"^7.0.0","lint-staged":"^7.0.5","babel-eslint":"^9.0.0","react-scripts":"^1.1.1","@babel/preset-env":"^7.0.0","@babel/preset-flow":"^7.0.0","eslint-plugin-node":"^6.0.1","eslint-plugin-react":"^7.7.0","react-test-renderer":"^17.0.1","rollup-plugin-babel":"^4.3.2","eslint-plugin-import":"^2.11.0","rollup-plugin-terser":"^5.1.0","eslint-plugin-promise":"^3.7.0","rollup-plugin-replace":"^2.2.0","eslint-config-prettier":"^2.9.0","eslint-config-standard":"^11.0.0","eslint-plugin-flowtype":"^2.47.1","eslint-plugin-jsx-a11y":"^5","eslint-plugin-prettier":"^2.6.0","eslint-plugin-standard":"^3.0.1","rollup-plugin-commonjs":"^9.2.1","eslint-config-react-app":"^2.1.0","rollup-plugin-node-resolve":"^4.0.1","eslint-config-standard-react":"^6.0.0","@babel/plugin-transform-runtime":"^7.0.0","babel-plugin-annotate-pure-calls":"^0.3.0","@babel/plugin-proposal-class-properties":"^7.0.0"},"peerDependencies":{"react":"^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0","react-dom":"^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"},"_npmOperationalInternal":{"tmp":"tmp/react-window_1.8.11_1734399504991_0.26061076129762983","host":"s3://npm-registry-packages-npm-production"},"readme":"<img src=\"https://react-window.vercel.app/og.png\" alt=\"react-window logo\" width=\"400\" height=\"210\" />\n\n`react-window` is a component library that helps render large lists of data quickly and without the performance problems that often go along with rendering a lot of data. It's used in a lot of places, from React DevTools to the Replay browser.\n\n## Support\n\nIf you like this project there are several ways to support it:\n\n- [Become a GitHub sponsor](https://github.com/sponsors/bvaughn/)\n- [Become an Open Collective sponsor](https://opencollective.com/react-window#sponsor)\n- or [buy me a coffee](http://givebrian.coffee/)\n\nThe following wonderful companies and individuals have sponsored react-window:\n\n<a href=\"https://opencollective.com/react-window/sponsor/0/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/0/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/1/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/1/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/2/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/2/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/3/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/3/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/4/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/4/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/5/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/5/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/6/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/6/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/7/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/7/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/8/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/8/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/9/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/9/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/10/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/10/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/11/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/11/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/12/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/12/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/13/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/13/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/14/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/14/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/15/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/15/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/16/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/16/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/17/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/17/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/18/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/18/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/19/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/19/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/20/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/20/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/21/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/21/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/22/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/22/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/23/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/23/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/24/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/24/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/25/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/25/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/26/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/26/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/27/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/27/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/28/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/28/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/sponsor/29/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/sponsor/29/avatar.svg\"></a>\n\n<a href=\"https://opencollective.com/react-window/backer/0/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/0/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/1/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/1/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/2/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/2/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/3/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/3/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/4/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/4/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/5/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/5/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/6/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/6/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/7/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/7/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/8/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/8/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/9/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/9/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/10/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/10/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/11/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/11/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/12/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/12/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/13/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/13/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/14/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/14/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/15/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/15/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/16/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/16/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/17/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/17/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/18/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/18/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/19/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/19/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/20/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/20/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/21/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/21/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/22/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/22/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/23/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/23/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/24/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/24/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/25/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/25/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/26/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/26/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/27/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/27/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/28/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/28/avatar.svg\"></a> <a href=\"https://opencollective.com/react-window/backer/29/website\" target=\"_blank\"><img src=\"https://opencollective.com/react-window/backer/29/avatar.svg\"></a>\n\n## Installation\n\nBegin by installing the library from NPM:\n\n```sh\nnpm install react-window\n```\n\n## TypeScript types\n\nTypeScript definitions are included within the published `dist` folder\n\n## FAQs\n\nFrequently asked questions can be found [here](https://react-window.vercel.app/common-questions).\n\n## Documentation\n\nDocumentation for this project is available at [react-window.vercel.app](https://react-window.vercel.app/); version 1.x documentation can be found at [react-window-v1.vercel.app](https://react-window-v1.vercel.app/).\n\n### List\n\n<!-- List:description:begin -->\nRenders data with many rows.\n<!-- List:description:end -->\n\n#### Required props\n\n<!-- List:required-props:begin -->\n\n<table>\n  <thead>\n    <tr>\n      <th>Name</th>\n      <th>Description</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>rowComponent</td>\n      <td><p>React component responsible for rendering a row.</p>\n<p>This component will receive an <code>index</code> and <code>style</code> prop by default.\nAdditionally it will receive prop values passed to <code>rowProps</code>.</p>\n<p>ℹ️ The prop types for this component are exported as <code>RowComponentProps</code></p>\n</td>\n    </tr>\n    <tr>\n      <td>rowCount</td>\n      <td><p>Number of items to be rendered in the list.</p>\n</td>\n    </tr>\n    <tr>\n      <td>rowHeight</td>\n      <td><p>Row height; the following formats are supported:</p>\n<ul>\n<li>number of pixels (number)</li>\n<li>percentage of the grid&#39;s current height (string)</li>\n<li>function that returns the row height (in pixels) given an index and <code>cellProps</code></li>\n<li>dynamic row height cache returned by the <code>useDynamicRowHeight</code> hook</li>\n</ul>\n<p>⚠️ Dynamic row heights are not as efficient as predetermined sizes.\nIt&#39;s recommended to provide your own height values if they can be determined ahead of time.</p>\n</td>\n    </tr>\n    <tr>\n      <td>rowProps</td>\n      <td><p>Additional props to be passed to the row-rendering component.\nList will automatically re-render rows when values in this object change.</p>\n<p>⚠️ This object must not contain <code>ariaAttributes</code>, <code>index</code>, or <code>style</code> props.</p>\n</td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- List:required-props:end -->\n\n#### Optional props\n\n<!-- List:optional-props:begin -->\n\n<table>\n  <thead>\n    <tr>\n      <th>Name</th>\n      <th>Description</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>className</td>\n      <td><p>CSS class name.</p>\n</td>\n    </tr>\n    <tr>\n      <td>style</td>\n      <td><p>Optional CSS properties.\nThe list of rows will fill the height defined by this style.</p>\n</td>\n    </tr>\n    <tr>\n      <td>children</td>\n      <td><p>Additional content to be rendered within the list (above cells).\nThis property can be used to render things like overlays or tooltips.</p>\n</td>\n    </tr>\n    <tr>\n      <td>defaultHeight</td>\n      <td><p>Default height of list for initial render.\nThis value is important for server rendering.</p>\n</td>\n    </tr>\n    <tr>\n      <td>listRef</td>\n      <td><p>Ref used to interact with this component&#39;s imperative API.</p>\n<p>This API has imperative methods for scrolling and a getter for the outermost DOM element.</p>\n<p>ℹ️ The <code>useListRef</code> and <code>useListCallbackRef</code> hooks are exported for convenience use in TypeScript projects.</p>\n</td>\n    </tr>\n    <tr>\n      <td>onResize</td>\n      <td><p>Callback notified when the List&#39;s outermost HTMLElement resizes.\nThis may be used to (re)scroll a row into view.</p>\n</td>\n    </tr>\n    <tr>\n      <td>onRowsRendered</td>\n      <td><p>Callback notified when the range of visible rows changes.</p>\n</td>\n    </tr>\n    <tr>\n      <td>overscanCount</td>\n      <td><p>How many additional rows to render outside of the visible area.\nThis can reduce visual flickering near the edges of a list when scrolling.</p>\n</td>\n    </tr>\n    <tr>\n      <td>rowKey</td>\n      <td><p>Lists use the row index as a <code>key</code> by default.\nThis prop can provide a custom <code>key</code> value.</p>\n<p>ℹ️ Custom keys can ensure better UX for sortable or filterable lists,\nparticularly if your row components are stateful.\nRefer to the <a href=\"https://react.dev/learn/rendering-lists#keeping-list-items-in-order-with-key\">React documentation</a> for more info.</p>\n<p>⚠️ This prop cannot be auto-memoized because it is called during render.\nIt is important to always <code>useCallback</code> for this prop; do not use an inline function.</p>\n</td>\n    </tr>\n    <tr>\n      <td>tagName</td>\n      <td><p>Can be used to override the root HTML element rendered by the List component.\nThe default value is &quot;div&quot;, meaning that List renders an HTMLDivElement as its root.</p>\n<p>⚠️ In most use cases the default ARIA roles are sufficient and this prop is not needed.</p>\n</td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- List:optional-props:end -->\n\n### Grid\n\n<!-- Grid:description:begin -->\nRenders data with many rows and columns.\n\nℹ️ Unlike `List` rows, `Grid` cell sizes must be known ahead of time.\nEither static sizes or something that can be derived (from the data in `CellProps`) without rendering.\n<!-- Grid:description:end -->\n\n#### Required props\n\n<!-- Grid:required-props:begin -->\n\n<table>\n  <thead>\n    <tr>\n      <th>Name</th>\n      <th>Description</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>cellComponent</td>\n      <td><p>React component responsible for rendering a cell.</p>\n<p>This component will receive an <code>index</code> and <code>style</code> prop by default.\nAdditionally it will receive prop values passed to <code>cellProps</code>.</p>\n<p>ℹ️ The prop types for this component are exported as <code>CellComponentProps</code></p>\n</td>\n    </tr>\n    <tr>\n      <td>cellProps</td>\n      <td><p>Additional props to be passed to the cell-rendering component.\nGrid will automatically re-render cells when values in this object change.</p>\n<p>⚠️ This object must not contain <code>ariaAttributes</code>, <code>columnIndex</code>, <code>rowIndex</code>, or <code>style</code> props.</p>\n</td>\n    </tr>\n    <tr>\n      <td>columnCount</td>\n      <td><p>Number of columns to be rendered in the grid.</p>\n</td>\n    </tr>\n    <tr>\n      <td>columnWidth</td>\n      <td><p>Column width; the following formats are supported:</p>\n<ul>\n<li>number of pixels (number)</li>\n<li>percentage of the grid&#39;s current width (string)</li>\n<li>function that returns the column width (in pixels) given an index and <code>cellProps</code></li>\n</ul>\n</td>\n    </tr>\n    <tr>\n      <td>rowCount</td>\n      <td><p>Number of rows to be rendered in the grid.</p>\n</td>\n    </tr>\n    <tr>\n      <td>rowHeight</td>\n      <td><p>Row height; the following formats are supported:</p>\n<ul>\n<li>number of pixels (number)</li>\n<li>percentage of the grid&#39;s current height (string)</li>\n<li>function that returns the row height (in pixels) given an index and <code>cellProps</code></li>\n</ul>\n</td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- Grid:required-props:end -->\n\n#### Optional props\n\n<!-- Grid:optional-props:begin -->\n\n<table>\n  <thead>\n    <tr>\n      <th>Name</th>\n      <th>Description</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>className</td>\n      <td><p>CSS class name.</p>\n</td>\n    </tr>\n    <tr>\n      <td>dir</td>\n      <td><p>Indicates the directionality of grid cells.</p>\n<p>ℹ️ See HTML <code>dir</code> <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/dir\">global attribute</a> for more information.</p>\n</td>\n    </tr>\n    <tr>\n      <td>style</td>\n      <td><p>Optional CSS properties.\nThe grid of cells will fill the height and width defined by this style.</p>\n</td>\n    </tr>\n    <tr>\n      <td>children</td>\n      <td><p>Additional content to be rendered within the grid (above cells).\nThis property can be used to render things like overlays or tooltips.</p>\n</td>\n    </tr>\n    <tr>\n      <td>columnKey</td>\n      <td><p>Grids use the column index as a <code>key</code> by default.\nThis prop can be used along with the <code>rowKey</code> prop to provide a custom <code>key</code> value.</p>\n<p>ℹ️ Custom keys can ensure better UX for sortable or filterable grids,\nparticularly if your cell components are stateful.\nRefer to the <a href=\"https://react.dev/learn/rendering-lists#keeping-list-items-in-order-with-key\">React documentation</a> for more info.</p>\n<p>⚠️ This prop cannot be auto-memoized because it is called during render.\nIt is important to always <code>useCallback</code> for this prop; do not use an inline function.</p>\n</td>\n    </tr>\n    <tr>\n      <td>defaultHeight</td>\n      <td><p>Default height of grid for initial render.\nThis value is important for server rendering.</p>\n</td>\n    </tr>\n    <tr>\n      <td>defaultWidth</td>\n      <td><p>Default width of grid for initial render.\nThis value is important for server rendering.</p>\n</td>\n    </tr>\n    <tr>\n      <td>gridRef</td>\n      <td><p>Imperative Grid API.</p>\n<p>ℹ️ The <code>useGridRef</code> and <code>useGridCallbackRef</code> hooks are exported for convenience use in TypeScript projects.</p>\n</td>\n    </tr>\n    <tr>\n      <td>onCellsRendered</td>\n      <td><p>Callback notified when the range of rendered cells changes.</p>\n</td>\n    </tr>\n    <tr>\n      <td>onResize</td>\n      <td><p>Callback notified when the Grid&#39;s outermost HTMLElement resizes.\nThis may be used to (re)scroll a cell into view.</p>\n</td>\n    </tr>\n    <tr>\n      <td>overscanCount</td>\n      <td><p>How many additional rows/columns to render outside of the visible area.\nThis can reduce visual flickering near the edges of a grid when scrolling.</p>\n</td>\n    </tr>\n    <tr>\n      <td>rowKey</td>\n      <td><p>Grids use the row index as a <code>key</code> by default.\nThis prop can be used along with the <code>columnKey</code> prop to provide a custom <code>key</code> value.</p>\n<p>ℹ️ Custom keys can ensure better UX for sortable or filterable grids,\nparticularly if your cell components are stateful.\nRefer to the <a href=\"https://react.dev/learn/rendering-lists#keeping-list-items-in-order-with-key\">React documentation</a> for more info.</p>\n<p>⚠️ This prop cannot be auto-memoized because it is called during render.\nIt is important to always <code>useCallback</code> for this prop; do not use an inline function.</p>\n</td>\n    </tr>\n    <tr>\n      <td>tagName</td>\n      <td><p>Can be used to override the root HTML element rendered by the List component.\nThe default value is &quot;div&quot;, meaning that List renders an HTMLDivElement as its root.</p>\n<p>⚠️ In most use cases the default ARIA roles are sufficient and this prop is not needed.</p>\n</td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- Grid:optional-props:end -->\n","publish_time":1734399505274,"_cnpm_publish_time":1734399505274,"dist-tags":{"alpha":"2.2.5-alpha.1","latest":"2.5.4","next":"1.6.0-alpha.1","rc":"1.0.0"}}