MCPcopy Create free account
hub / github.com/adobe/react-spectrum / TableRowGroup

Function TableRowGroup

starters/hooks/src/Table.tsx:62–71  ·  view source on GitHub ↗
({type: Element, children}: {type: 'thead' | 'tbody'; children: ReactNode})

Source from the content-addressed store, hash-verified

60}
61
62function 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
73function TableHeaderRow({
74 item,

Callers

nothing calls this directly

Calls 1

useTableRowGroupFunction · 0.90

Tested by

no test coverage detected