import cn from 'classnames'; import { useContext } from 'react'; import { CLASSES, ROLES } from '@tabulus/constants'; import { TableManager } from '@tabulus/contexts'; import { Column } from '../Column'; import { HeadersRow, TableHeader } from './styled'; import type { HeaderProps } from './types'; import type { FC } from 'react'; const Header: FC = () => { const { columns } = useContext(TableManager); return ( {columns.map(column => ( ))} ); }; export { Header }; export type { HeaderProps } from './types';