UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

28 lines (27 loc) 929 B
import * as React from 'react'; import { ExpressionFunction, ExpressionFunctionMap } from '../../parser/src/types'; import { AdaptableApi } from '../../Api/AdaptableApi'; import { CSSProperties } from 'react'; interface BaseEditorInputProps { type: 'main' | 'secondary'; value: string; onChange: (value: string) => void; disabled?: boolean; onSelectedFunctionChange: (expressionFunction: ExpressionFunction | null) => void; expressionFunctions: ExpressionFunctionMap<string>; editorButtons: OperatorEditorButton[]; testData: any; placeholder?: string; isFullExpression?: boolean; hideResultPreview?: boolean; api: AdaptableApi; style?: CSSProperties; } export interface OperatorEditorButton { functionName: string; data: string; icon?: string; text?: string; } export declare function BaseEditorInput(props: BaseEditorInputProps): React.JSX.Element; export {};