UNPKG

@spratch/whtable

Version:

A typescript react accessible table component for WealthHealth

18 lines (17 loc) 597 B
export type TableSectionProps = { itemsStatus: "idle" | "loading" | "succeeded" | "failed"; itemsMessage: string; items: Record<string, string>[]; itemsName?: { singular: string; plural: string; }; newItemLink?: string; lengthOptions?: string[]; columnsTitles: { id: string; title: string; }[]; emailAddress?: string; }; export declare function TableSection({ itemsStatus, itemsMessage, items, itemsName, newItemLink, lengthOptions, columnsTitles, emailAddress }: TableSectionProps): import("react/jsx-runtime").JSX.Element;