UNPKG

@skbkontur/db-viewer-ui

Version:

Database Viewer with custom configuration

19 lines (18 loc) 852 B
import React from "react"; import { PropertyMetaInformation } from "../../Domain/Api/DataTypes/PropertyMetaInformation"; import { Sort } from "../../Domain/Api/DataTypes/Sort"; import { ICustomRenderer } from "../../Domain/Objects/CustomRenderer"; interface ObjectTableProps { customRenderer: ICustomRenderer; items: object[]; objectType: string; properties: PropertyMetaInformation[]; onChangeSortClick: (name: string) => void; onDetailsClick: (item: object) => string; onDeleteClick: (index: number) => Promise<void>; currentSorts: Sort[]; allowDelete: boolean; allowSort: boolean; } export declare function ObjectTable({ customRenderer, items, objectType, properties, onChangeSortClick, onDetailsClick, onDeleteClick, currentSorts, allowDelete, allowSort, }: ObjectTableProps): React.ReactElement; export {};