import React , { memo } from 'react' ; import { StyledTableHead } from './styled' ; export type HeadProps = React . TableHTMLAttributes < HTMLTableSectionElement > & { hidden ? : boolean ; } ; export const Head = memo ( ( { className , style , hidden = false , ... props } ) => ( < StyledTableHead hidden = { hidden } { ... props } / > ) ) ;