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

Function Row

lib/virtualization.test.tsx:113–115  ·  view source on GitHub ↗
({ index, data, style }: RowComponentProps<{ data: string[] }>)

Source from the content-addressed store, hash-verified

111 };
112 const rowKey = (index: number, { data }: { data: string[] }) => data[index];
113 function Row({ index, data, style }: RowComponentProps<{ data: string[] }>) {
114 return <div style={style}>{data[index]}</div>;
115 }
116 const { container, rerender } = render(
117 <List
118 rowComponent={Row}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected