import { HTMLAttributes, ReactNode } from 'react'; export type TableProps = { /** * Whether the table should have borders around every cell and the table */ bordered?: boolean; /** * Table content */ children?: ReactNode; /** * Whether the table should have even rows with a different background color */ striped?: boolean; } & HTMLAttributes; export type TableContextState = { /** * bordered */ bordered?: boolean; /** * striped */ striped?: boolean; };