[react-numeric-input] Bump to 2.2.3 features

This commit is contained in:
Aarni Koskela 2018-08-30 12:22:18 +03:00
parent 30b5b642f9
commit 76f9898c2e

View File

@ -17,11 +17,13 @@ declare namespace NumericInput {
'min' | 'max' | 'step' | 'onChange' | 'defaultValue' | 'onInvalid' | 'style'
> {
addLabelText?: string;
componentClass?: string;
defaultValue?: number | string;
format?: ((value: number | null) => string);
max?: BoundsFunctionProp;
min?: BoundsFunctionProp;
mobile?: boolean | 'auto' | ((component: NumericInput) => boolean);
noStyle?: boolean;
noValidate?: boolean | string;
onBlur?: React.FocusEventHandler<HTMLDivElement | HTMLInputElement>;
onChange?: ((value: number | null, stringValue: string, input: HTMLInputElement) => void);