()
| 586 | let onRowsRendered: ReturnType<typeof vi.fn>; |
| 587 | |
| 588 | function Example() { |
| 589 | const rowHeight = useDynamicRowHeight({ |
| 590 | defaultRowHeight: 25 |
| 591 | }); |
| 592 | return ( |
| 593 | <List |
| 594 | defaultHeight={100} |
| 595 | overscanCount={0} |
| 596 | onRowsRendered={onRowsRendered} |
| 597 | rowCount={10} |
| 598 | rowComponent={RowComponent} |
| 599 | rowHeight={rowHeight} |
| 600 | rowProps={EMPTY_OBJECT} |
| 601 | /> |
| 602 | ); |
| 603 | } |
| 604 | |
| 605 | function setMockRowHeights( |
| 606 | indexToHeight: Map<number, number>, |
nothing calls this directly
no test coverage detected
searching dependent graphs…