UNPKG

mod-arch-shared

Version:

Shared UI components and utilities for modular architecture micro-frontend projects

14 lines 714 B
import * as React from 'react'; import { TbodyProps } from '@patternfly/react-table'; import { EitherNotBoth } from '../../types/typeHelpers'; import TableBase from './TableBase'; type TableProps<DataType> = Omit<React.ComponentProps<typeof TableBase<DataType>>, 'itemCount' | 'onPerPageSelect' | 'onSetPage' | 'page' | 'perPage'> & EitherNotBoth<{ disableRowRenderSupport?: boolean; }, { tbodyProps?: TbodyProps & { ref?: React.Ref<HTMLTableSectionElement>; }; }>; declare const Table: <T>({ data: allData, columns, subColumns, enablePagination, defaultSortColumn, truncateRenderingAt, ...props }: TableProps<T>) => React.ReactElement; export default Table; //# sourceMappingURL=Table.d.ts.map