import React from "react"; import TableCellProps from "./TableCell.types"; export const TableCell = ({ id, children, classes, isHeader, format, ...attributes }: TableCellProps) => { return ( <> {isHeader ? ( {children} ) : ( {children} )} ); }; export default TableCell;