import { FunctionComponent, ReactNode } from 'react'; import { TableProps, TableVariant, RowSelectVariant, ThProps } from '@patternfly/react-table'; import { SkeletonTableBodyProps } from '../SkeletonTableBody'; import { SkeletonTableHeadProps } from '../SkeletonTableHead'; /** extends TableProps */ export interface SkeletonTableProps extends Omit, Omit, SkeletonTableHeadProps { /** Indicates the table variant */ variant?: TableVariant; /** Flag indicating if the table should have borders */ borders?: boolean; /** The number of rows the skeleton table should contain */ rowsCount?: number; /** Any captions that should be added to the table */ caption?: React.ReactNode; /** Custom OUIA ID */ ouiaId?: string | number; /** Flag indicating if the table is selectable */ isSelectable?: boolean; /** Flag indicating if the table is expandable */ isExpandable?: boolean; /** Determines if the row selection variant (radio/checkbox) */ selectVariant?: RowSelectVariant; /** Custom columns for the table */ columns?: (ReactNode | { cell: ReactNode; props?: ThProps; })[]; /** Number of columns in the table */ columnsCount?: number; } declare const SkeletonTable: FunctionComponent; export default SkeletonTable;