({type: Element, children}: {type: 'thead' | 'tbody'; children: ReactNode})
| 60 | } |
| 61 | |
| 62 | function TableRowGroup({type: Element, children}: {type: 'thead' | 'tbody'; children: ReactNode}) { |
| 63 | let {rowGroupProps} = useTableRowGroup(); |
| 64 | return ( |
| 65 | <Element |
| 66 | {...rowGroupProps} |
| 67 | className={Element === 'thead' ? 'react-aria-TableHeader' : 'react-aria-TableBody'}> |
| 68 | {children} |
| 69 | </Element> |
| 70 | ); |
| 71 | } |
| 72 | |
| 73 | function TableHeaderRow({ |
| 74 | item, |
nothing calls this directly
no test coverage detected