import { type FC } from 'react';

import { TableBody as MuiTableBody } from '@mui/material';

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

const TableBody: FC<TableBodyProps> = ({ children, ...props }) => {
  return <MuiTableBody {...props}>{children}</MuiTableBody>;
};

export type { TableBodyProps };

TableBody.displayName = 'TableBody';

export default TableBody;
