({ contacts }: { contacts: Contact[] })
| 9 | import { Grid } from "react-window"; |
| 10 | |
| 11 | function Example({ contacts }: { contacts: Contact[] }) { |
| 12 | return ( |
| 13 | <Grid |
| 14 | cellComponent={CellComponent} |
| 15 | cellProps={{ contacts }} |
| 16 | columnCount={10} |
| 17 | columnWidth={columnWidth} |
| 18 | rowCount={contacts.length} |
| 19 | rowHeight={25} |
| 20 | /> |
| 21 | ); |
| 22 | } |
| 23 | |
| 24 | // <end> |
| 25 |
nothing calls this directly
no outgoing calls
no test coverage detected