UNPKG

@activecollab/components

Version:

ActiveCollab Components

23 lines 770 B
import { ReactNode, FC, RefObject } from "react"; export interface ITableWithChildren { /** Children prop can be ReactNode. */ children: ReactNode; /** Classname prop for custom styling. */ className?: string; } export interface ITableProps { /** Darker color on odd column. */ striped?: boolean; /** CSS classes. */ className?: string; /** CSS classes for wrapper */ wrapperClassName?: string; /** Ref object for table. */ innerRef?: RefObject<HTMLTableElement>; } export declare const Table: FC<ITableProps & ITableWithChildren>; export declare const Thead: FC<ITableWithChildren & { headerVariant?: "primary" | "secondary"; }>; export declare const Tbody: FC<ITableWithChildren>; //# sourceMappingURL=Table.d.ts.map