MCPcopy Create free account
hub / github.com/bvaughn/react-window / Example

Function Example

src/routes/grid/examples/Grid.tsx:11–22  ·  view source on GitHub ↗
({ contacts }: { contacts: Contact[] })

Source from the content-addressed store, hash-verified

9import { Grid } from "react-window";
10
11function Example({ contacts }: { contacts: Contact[] }) {
12 return (
13 <Grid
14 cellComponent={CellComponent}
15 cellProps={{ contacts }}
16 columnCount={10}
17 columnWidth={columnWidth}
18 rowCount={contacts.length}
19 rowHeight={25}
20 />
21 );
22}
23
24// <end>
25

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected