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

Function Example

src/routes/server-rendering/examples/SsrDefaultHeight.tsx:7–18  ·  view source on GitHub ↗
({ names }: { names: string[] })

Source from the content-addressed store, hash-verified

5import { List } from "react-window";
6
7function Example({ names }: { names: string[] }) {
8 return (
9 <List
10 className="h-100"
11 defaultHeight={400}
12 rowComponent={RowComponent}
13 rowCount={names.length}
14 rowHeight={25}
15 rowProps={{ names }}
16 />
17 );
18}
19
20// <end>
21

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected