({
index,
style
}: RowComponentProps)
| 38 | |
| 39 | // Rows aren't required to spread ariaAttributes (which identify them as rows) |
| 40 | function RowComponentWithoutAriaAttributes({ |
| 41 | index, |
| 42 | style |
| 43 | }: RowComponentProps) { |
| 44 | return ( |
| 45 | <div role="listitem" style={style}> |
| 46 | Row {index} |
| 47 | </div> |
| 48 | ); |
| 49 | } |
| 50 | |
| 51 | function DynamicList({ |
| 52 | children, |
nothing calls this directly
no outgoing calls
no test coverage detected