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

Function DynamicList

lib/ssr.test.tsx:166–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

164
165 test("should render dynamic height rows in normal document flow", () => {
166 function DynamicList() {
167 const rowHeight = useDynamicRowHeight({ defaultRowHeight: 25 });
168
169 return (
170 <List
171 defaultHeight={100}
172 overscanCount={0}
173 rowComponent={RowComponent}
174 rowCount={100}
175 rowHeight={rowHeight}
176 rowProps={EMPTY_OBJECT}
177 />
178 );
179 }
180
181 const html = renderToString(<DynamicList />);
182

Callers

nothing calls this directly

Calls 1

useDynamicRowHeightFunction · 0.90

Tested by

no test coverage detected