({ names }: { names: string[] })
| 5 | import { List } from "react-window"; |
| 6 | |
| 7 | function Example({ names }: { names: string[] }) { |
| 8 | return ( |
| 9 | <List |
| 10 | className="h-100" |
| 11 | defaultHeight={400} |
| 12 | rowComponent={RowComponent} |
| 13 | rowCount={names.length} |
| 14 | rowHeight={25} |
| 15 | rowProps={{ names }} |
| 16 | /> |
| 17 | ); |
| 18 | } |
| 19 | |
| 20 | // <end> |
| 21 |
nothing calls this directly
no outgoing calls
no test coverage detected