mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[react-numeric-input] Bump to 2.2.3 features
This commit is contained in:
parent
30b5b642f9
commit
76f9898c2e
2
types/react-numeric-input/index.d.ts
vendored
2
types/react-numeric-input/index.d.ts
vendored
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user