import type { ForwardRefExoticComponent, HTMLProps, PropsWithoutRef, RefAttributes, ReactNode } from 'react';
import type { Property } from 'csstype';
export type BaseCellProps = Omit, 'ref' | 'as'> & {
isMinWidth?: boolean;
isNowrap?: boolean;
hasWordBreak?: boolean;
textAlign?: Property.TextAlign;
width?: string | number;
verticalAlign?: Property.VerticalAlign;
children?: ReactNode;
};
export type ThProps = BaseCellProps & {
hasBorderLeft?: boolean;
hasBorderRight?: boolean;
};
export type ThComponent = ForwardRefExoticComponent & RefAttributes>;
export type TdProps = BaseCellProps & {
hasBorderLeft?: boolean;
hasBorderRight?: boolean;
};
export type TdComponent = ForwardRefExoticComponent & RefAttributes>;
export type TableProps = {
lightenRow?: number;
children?: ReactNode;
};
export type TableComponent = ForwardRefExoticComponent & RefAttributes>;