@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
28 lines • 827 B
TypeScript
import { RefObject } from 'react';
export interface HeaderRef {
totalCount?: number;
}
export interface FilterRef {
filtered?: boolean;
filterText?: string;
filteredBy?: string[];
filterCount?: number;
}
export interface PaginationRef {
currentPageIndex?: number;
totalPageCount?: number;
openEnd?: boolean;
}
export interface PreferencesRef {
pageSize?: number;
visibleColumns?: string[];
}
interface TableComponentsContextProps {
headerRef: RefObject<HeaderRef>;
filterRef: RefObject<FilterRef>;
paginationRef: RefObject<PaginationRef>;
preferencesRef: RefObject<PreferencesRef>;
}
export declare const TableComponentsContextProvider: import("react").Provider<TableComponentsContextProps | null>;
export declare const useTableComponentsContext: () => TableComponentsContextProps | null;
export {};