UNPKG

norma-library

Version:

Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.

27 lines (26 loc) 637 B
import { ColumnDef } from '@tanstack/react-table'; export interface TablePropos { data: any; columns: ColumnDef<ColumnsTable>[]; onClick: any; onMouseOver: any; onMouseOut: any; showTotalResults: boolean; showSettings: boolean; minHeight: string; rowCount: number; onChangePage?: (page: number) => void; pagination?: { pageIndex: number; pageSize: number; totalPages: number; }; customTotalResult?: string; } export interface ColumnsTable { header: string; accessorKey: string; type: string; enableColumnFilter: boolean; filterFn: string; }