UNPKG

@spratch/whtable

Version:

A typescript react accessible table component for WealthHealth

14 lines (13 loc) 837 B
import { TableSectionProps } from './tableSection'; /** * TableSection component * @param itemsStatus - Status of the items (idle, loading, succeeded, failed) * @param itemsMessage - Message to display in case of error * @param items - Array of items to display in the table * @param itemsName - Object containing singular and plural names for the items * @param newItemLink - Link to create a new item * @param lengthOptions - Array of options for the number of items per page * @param columnsTitles - Array of objects containing id and title for each column * @param emailAddress - Email address for support contact */ export declare function WHTableWrapper({ itemsStatus, itemsMessage, items, itemsName, newItemLink, lengthOptions, columnsTitles, emailAddress }: TableSectionProps): import("react/jsx-runtime").JSX.Element;