UNPKG

@adaptabletools/adaptable

Version:

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

24 lines (23 loc) 795 B
import * as React from 'react'; export type InternalAdaptableNumberEditorApi = { focus: VoidFunction; setValue: (value: any) => void; }; export type InternalAdaptableNumberEditorProps = { /** * Value to set when the x (when showClear: true) is pressed */ emptyValue?: string | number; defaultValue?: string | number; value?: string | number; /** * The input type. Defaults to 'number' */ type?: string; /** * Whether to show the clear button. Defaults to false */ showClearButton?: boolean; onValueChange?: (value: string | number) => void; }; export declare const InternalAdaptableNumberEditor: React.ForwardRefExoticComponent<InternalAdaptableNumberEditorProps & React.RefAttributes<InternalAdaptableNumberEditorApi>>;