@skbkontur/db-viewer-ui
Version:
Database Viewer with custom configuration
19 lines (18 loc) • 931 B
TypeScript
import { type ReactElement } from "react";
import { CountResult } from "../../Domain/Api/DataTypes/CountResult";
import { PropertyMetaInformation } from "../../Domain/Api/DataTypes/PropertyMetaInformation";
import { ObjectSearchQuery } from "../../Domain/Objects/ObjectSearchQuery";
interface ObjectTableLayoutHeaderProps {
query: ObjectSearchQuery;
allowReadAll: boolean;
properties: PropertyMetaInformation[];
onChange: (update: null | Partial<ObjectSearchQuery>) => void;
onDownloadClick: () => void;
onDownloadAbort: () => void;
downloading: boolean;
showModalFilter: boolean;
showDownloadModal: boolean;
downloadCount?: CountResult;
}
export declare const ObjectTableLayoutHeader: ({ query, allowReadAll, properties, onChange, onDownloadClick, onDownloadAbort, downloading, showModalFilter, showDownloadModal, downloadCount, }: ObjectTableLayoutHeaderProps) => ReactElement;
export {};