import * as React from 'react'; import { TableBodyEmpty } from './TableBodyEmpty'; export interface TableBodyProps { /** * Table body rows */ children?: React.ReactNode; } export const TableBody = Object.assign( React.forwardRef(function TableBody( { children, ...props }: TableBodyProps, ref ) { return ( {children} ); }), { Empty: TableBodyEmpty, } );