UNPKG

@uiw/react-table

Version:
23 lines (22 loc) 727 B
import { TableColumns, LocationWidth } from './'; import React from 'react'; export interface ILevelItems<T> { header: TableColumns<T>[][]; ellipsis?: Record<string, boolean>; render: { [key: string]: any; }; } /** * JSON Array => Array * @param {Array} date */ export declare function getLevelItems<T>(data: TableColumns<T>[], result?: ILevelItems<T>): ILevelItems<T>; /** * Get all columns keys * @param {Array} data */ export declare function getAllColumnsKeys<T>(data: TableColumns<T>[], keys?: TableColumns<T>[]): TableColumns<T>[]; export declare function locationFixed(fixed: boolean | 'left' | 'right', location: { [key: string]: LocationWidth; }, index: string): React.CSSProperties;