import { Dispatch, ReactNode, SetStateAction, HTMLAttributes, TableHTMLAttributes } from 'react'; export type OmitProps = { inHeader?: boolean; columnKey?: number; headers?: string[]; forwardedRef?: React.Ref; className?: string; colSpan?: number; children?: ReactNode; }; export type HeaderContextType = { headers: string[]; setHeaders: Dispatch>; }; export type TdProps = OmitProps & { columnKey?: number; }; export type TrProps = OmitProps & HTMLAttributes; export type TbodyProps = OmitProps & HTMLAttributes; export type TableProps = OmitProps & TableHTMLAttributes; export type TheadProps = OmitProps & HTMLAttributes;