@makeen.io/material-ui-kit
Version:
Makeen UI components kit. Based on material-ui.
64 lines (63 loc) • 2.29 kB
TypeScript
declare type DefaultTableProps = {
checkable?: boolean;
checkableColumnWidth?: number;
checkableColumnPosition?: "left" | "right";
checkedRows?: any[];
columns: any[];
customItemActions?: any;
customStyle?: string;
data: any[];
expandable?: boolean;
height?: number;
autoHeight?: boolean;
hideHeader?: boolean;
hideNonCheckables?: boolean;
hideNonExpandable?: boolean;
isRowCheckable?: () => void;
isRowExpandable?: () => void;
itemActions?: any;
multigrid?: boolean;
onCheckAll?: () => void;
onCheckItem?: () => void;
onLastRowScrolled?: () => void;
onReorder?: () => void;
onToggleCollapsible?: () => void;
reorderable?: boolean;
reorderHeader?: string;
rowHeight?: number;
showLoader?: boolean;
};
export declare type TableProps = DefaultTableProps;
declare const ExplorerTable: import("styled-components").StyledComponent<({ data, height, autoHeight, columns, rowHeight, checkable, expandable, itemActions, onCheckAll, checkedRows, customItemActions, onCheckItem, onToggleCollapsible, isRowCheckable, isRowExpandable, checkableColumnWidth, checkableColumnPosition, hideNonCheckables, hideNonExpandable, showLoader, reorderable, hideHeader, onReorder, reorderHeader, sort, customStyle, sortBy, sortDirection, multigrid, onLastRowScrolled, }: {
data: any;
height: any;
autoHeight?: boolean | undefined;
columns: any;
rowHeight: any;
checkable: any;
expandable: any;
itemActions: any;
onCheckAll: any;
checkedRows?: never[] | undefined;
customItemActions: any;
onCheckItem: any;
onToggleCollapsible: any;
isRowCheckable: any;
isRowExpandable: any;
checkableColumnWidth: any;
checkableColumnPosition?: string | undefined;
hideNonCheckables?: boolean | undefined;
hideNonExpandable?: boolean | undefined;
showLoader?: boolean | undefined;
reorderable?: boolean | undefined;
hideHeader?: boolean | undefined;
onReorder: any;
reorderHeader?: string | undefined;
sort: any;
customStyle?: string | undefined;
sortBy: any;
sortDirection: any;
multigrid?: boolean | undefined;
onLastRowScrolled: any;
}) => JSX.Element, any, {}, never>;
export default ExplorerTable;