import { type FC } from 'react';

import { TableHead as MuiTableHead } from '@mui/material';

import { type TableHeadProps } from './types';

const TableHead: FC<TableHeadProps> = ({ children, ...props }) => {
  return <MuiTableHead {...props}>{children}</MuiTableHead>;
};

export type { TableHeadProps };

TableHead.displayName = 'TableHead';

export default TableHead;
