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

Function Example

src/routes/hoc/examples/InfiniteLoaderBasic.tsx:44–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44function Example() {
45 return (
46 <InfiniteLoader
47 isRowLoaded={isRowLoaded}
48 loadMoreRows={loadMoreRows}
49 rowCount={remoteRowCount}
50 >
51 {({ onRowsRendered, registerChild }) => (
52 <List
53 height={200}
54 onRowsRendered={onRowsRendered}
55 ref={registerChild}
56 rowCount={remoteRowCount}
57 rowHeight={20}
58 rowRenderer={rowRenderer}
59 width={300}
60 />
61 )}
62 </InfiniteLoader>
63 );
64}
65
66// <end>
67

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected