()
| 1129 | }); |
| 1130 | const listRef = createRef<ListImperativeAPI>(); |
| 1131 | function SmoothScrollExample() { |
| 1132 | const rowHeight = useDynamicRowHeight({ defaultRowHeight: 25 }); |
| 1133 | return ( |
| 1134 | <List |
| 1135 | defaultHeight={100} |
| 1136 | listRef={listRef} |
| 1137 | rowCount={100} |
| 1138 | rowHeight={rowHeight} |
| 1139 | rowComponent={RowComponent} |
| 1140 | rowProps={EMPTY_OBJECT} |
| 1141 | /> |
| 1142 | ); |
| 1143 | } |
| 1144 | const { unmount } = render(<SmoothScrollExample />); |
| 1145 | onTestFinished(unmount); |
| 1146 |
nothing calls this directly
no test coverage detected