import { type PropsWithChildren } from 'react'; import clsx from 'clsx'; import { cellStyle, headerCellStyle, rowStyle, tableStyle } from './table.css'; type CompoundProps = PropsWithChildren<{ className?: string }>; const Table = ({ children, className }: CompoundProps) => { return {children}
; }; const TableRow = ({ children, className }: CompoundProps) => { return {children}; }; const TableRowCell = ({ children, className }: CompoundProps) => { return {children}; }; const TableHeaderCell = ({ children, className }: CompoundProps) => { return {children}; }; export default Object.assign(Table, { Row: TableRow, Cell: TableRowCell, HeaderCell: TableHeaderCell, });