@@ -580,9 +580,10 @@ export interface TableBodyProps<T> extends Omit<
580580/**
581581 * The body of a `<Table>`, containing the table rows.
582582 */
583- export const TableBody = /*#__PURE__*/ ( forwardRef as forwardRefType ) ( function TableBody <
584- T extends object
585- > ( props : TableBodyProps < T > , ref : DOMRef < HTMLDivElement > ) {
583+ export const TableBody = /*#__PURE__*/ ( forwardRef as forwardRefType ) ( function TableBody < T > (
584+ props : TableBodyProps < T > ,
585+ ref : DOMRef < HTMLDivElement >
586+ ) {
586587 let { items, renderEmptyState, children, dependencies = [ ] } = props ;
587588 let domRef = useDOMRef ( ref ) ;
588589 let { loadingState, onLoadMore} = useContext ( InternalTableContext ) ;
@@ -1151,9 +1152,10 @@ export interface TableHeaderProps<T> extends Omit<
11511152/**
11521153 * A header within a `<Table>`, containing the table columns.
11531154 */
1154- export const TableHeader = /*#__PURE__*/ ( forwardRef as forwardRefType ) ( function TableHeader <
1155- T extends object
1156- > ( { columns, dependencies, children} : TableHeaderProps < T > , ref : DOMRef < HTMLDivElement > ) {
1155+ export const TableHeader = /*#__PURE__*/ ( forwardRef as forwardRefType ) ( function TableHeader < T > (
1156+ { columns, dependencies, children} : TableHeaderProps < T > ,
1157+ ref : DOMRef < HTMLDivElement >
1158+ ) {
11571159 let scale = useScale ( ) ;
11581160 let { selectionBehavior, selectionMode, allowsDragging} = useTableOptions ( ) ;
11591161 let { isQuiet, selectionStyle} = useContext ( InternalTableContext ) ;
@@ -2191,7 +2193,7 @@ export interface RowProps<T>
21912193/**
21922194 * A row within a `<Table>`.
21932195 */
2194- export const Row = /*#__PURE__*/ ( forwardRef as forwardRefType ) ( function Row < T extends object > (
2196+ export const Row = /*#__PURE__*/ ( forwardRef as forwardRefType ) ( function Row < T > (
21952197 { id, columns, children, dependencies = [ ] , ...otherProps } : RowProps < T > ,
21962198 ref : DOMRef < HTMLDivElement >
21972199) {
@@ -2264,9 +2266,10 @@ const FooterContext = createContext(false);
22642266/**
22652267 * A footer within a `<Table>`, containing summary rows.
22662268 */
2267- export const TableFooter = /*#__PURE__*/ ( forwardRef as forwardRefType ) ( function TableFooter <
2268- T extends object
2269- > ( props : TableFooterProps < T > , ref : DOMRef < HTMLDivElement > ) {
2269+ export const TableFooter = /*#__PURE__*/ ( forwardRef as forwardRefType ) ( function TableFooter < T > (
2270+ props : TableFooterProps < T > ,
2271+ ref : DOMRef < HTMLDivElement >
2272+ ) {
22702273 let domRef = useDOMRef ( ref ) ;
22712274
22722275 return (
0 commit comments