UNPKG

@cimpress/react-components

Version:
17 lines 738 B
/// <reference types="react" /> import { SortKey, TableColumnProps } from './types'; import { PublicComponentProps } from '../types'; export interface TableProps extends PublicComponentProps { data: any[]; columns: TableColumnProps[]; sortedBy?: SortKey; isCondensed?: boolean; hasHover?: boolean; isBordered?: boolean; noDataText?: string; onSortingRequested?: (soryKey: SortKey) => void; pageSize?: number; paginationPosition?: 'topRight' | 'bottomRight'; } export declare const Table: ({ data, columns, sortedBy, noDataText, onSortingRequested, isCondensed, hasHover, isBordered, pageSize, paginationPosition, className, ...rest }: TableProps) => JSX.Element; //# sourceMappingURL=Table.d.ts.map