///
//@ts-ignore
import React, { Component } from 'react';
//@ts-ignore
import { Icon, PlainTextEditorLocalization, PropertyEditorProps } from '@grapecity/core-ui';
export type FloatEditorProps = PropertyEditorProps & PlainTextEditorLocalization & {
id?: string;
name?: string;
minValue?: number;
maxValue?: number;
iconDecrease?: Icon;
iconIncrease?: Icon;
step?: number;
displayValue?: string;
placeholder?: string;
validate?: (value: string) => boolean;
roundPrecision?: number;
};
type FloatEditorState = {
value: number;
};
export declare class FloatEditor extends Component {
static numberRegex: RegExp;
private _outer;
private _currentStep;
private _intTimer;
constructor(props: FloatEditorProps, context?: any);
static defaultProps: Partial;
get roundPrecision(): number;
componentDidMount(): void;
componentWillUnmount(): void;
private _onWindowMouseUp;
private roundValue;
private validateNumber;
private onChange;
private _startIncTimer;
private _clearIncTimer;
private _onIncDecMouseDown;
ensureMinMax(result: number): number;
private onNumberChange;
render(): React.JSX.Element;
}
export {};