UNPKG

@skbkontur/db-viewer-ui

Version:

Database Viewer with custom configuration

15 lines (14 loc) 512 B
import React from "react"; export interface FieldDefinition { name: string; caption: string; } interface FieldSelectorProps { fieldDefinitions: FieldDefinition[]; hiddenFields: string[]; onShowField: (fieldNames: string[]) => void; onHideField: (fieldNames: string[]) => void; showSelectAllButton?: boolean; } export declare function FieldSelector({ fieldDefinitions, hiddenFields, onShowField, onHideField, showSelectAllButton, }: FieldSelectorProps): React.ReactElement; export {};