@maherunlocker/custom-react-table
Version:
**Custom-react-table** is based on <code>React-Table v7</code>: collection of hooks for **building powerful tables and datagrid experiences**. These hooks are lightweight, composable, and ultra-extensible, but **do not render any markup or styles for you*
23 lines (22 loc) • 1.81 kB
TypeScript
import React, { CSSProperties } from 'react';
import { TableBodyTypeMap } from '@mui/material/TableBody/TableBody';
import { TableCellProps } from '@mui/material/TableCell/TableCell';
import { TableHeadTypeMap } from '@mui/material/TableHead/TableHead';
import { TableRowTypeMap } from '@mui/material/TableRow/TableRow';
import { TableTypeMap } from '@mui/material/Table/Table';
export declare const useStyles: (props?: any) => Record<"rawTable" | "tableHead" | "tableHeadRow" | "tableHeadCell" | "tableBody" | "tableRow" | "tableLabel" | "tableCell" | "resizeHandle" | "tableSortLabel" | "tableFilterAltOutlinedIcon" | "headerIcon" | "iconDirectionAsc" | "iconDirectionDesc" | "iconDirectionRight" | "cellIcon" | "FiltersCss" | "DividerCss" | "SvgNoDataCss" | "cardHeaderCss", string>;
declare type CN = {
className?: string;
style?: CSSProperties;
};
export declare const RawTable: React.FC<Partial<TableTypeMap> & CN>;
export declare const TableBody: React.FC<Partial<TableBodyTypeMap> & CN>;
export declare const TableHead: React.FC<Partial<TableHeadTypeMap> & CN>;
export declare const TableHeadRow: React.FC<Partial<TableRowTypeMap> & CN>;
export declare const TableHeadCell: React.FC<Partial<TableCellProps> & CN>;
export declare const TableRow: React.FC<Partial<TableRowTypeMap> & CN>;
export declare const TableCell: React.FC<Partial<TableCellProps> & CN>;
export declare const TableLabel: React.FC<CN>;
export declare const HeaderCheckbox: React.NamedExoticComponent<import("@mui/material").CheckboxProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>>;
export declare const RowCheckbox: React.NamedExoticComponent<import("@mui/material").CheckboxProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>>;
export {};