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.

24 lines (22 loc) 555 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 }