mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
fix InputNumber onChange argument type
This commit is contained in:
parent
d8f6accbba
commit
ef5df24936
@ -9,7 +9,7 @@ export interface InputNumberProps {
|
||||
value?: number;
|
||||
step?: number | string;
|
||||
defaultValue?: number;
|
||||
onChange?: (value: number) => void;
|
||||
onChange?: (value: number | string | undefined) => void;
|
||||
disabled?: boolean;
|
||||
size?: 'large' | 'small' | 'default';
|
||||
placeholder?: string;
|
||||
|
Loading…
Reference in New Issue
Block a user