import { ReactNode, CSSProperties } from 'react'; export type InnerRowItemData = { value: string; width: number; }; export type RowItemData = { [key: string]: InnerRowItemData; }; export type Label = { name: string; show?: boolean; value: string; style?: CSSProperties; width?: number; sortable?: boolean; }; export type RowControllerProps = { data: T; items?: RowItemData; notifyParent: (value: any) => void; rowControllerProps?: Record; style?: CSSProperties; }; type BasicTableProps = { data: T[]; emptyLabel?: ReactNode; fetchOnPageChange: boolean; isSortable: boolean; labels: Label[]; loading: boolean; notifyParent: (value: any) => void; orderBy?: string | null; page: number; rowControllerProps?: Record; rowsPerPage: number; style?: CSSProperties; total: number; RowController: (props: RowControllerProps) => JSX.Element; }; export default BasicTableProps; //# sourceMappingURL=type.d.ts.map