import { Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from '@mui/material' function CustomTable({ tableHead, centerTable, children }) { return ( {tableHead.map((item, idx) => ( i === idx) ? '!text-center' : '!text-start'} `} > {item} ))} {children}
) } export default CustomTable