mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
fix formatter types
This commit is contained in:
parent
a73d7d6f22
commit
928126e3b3
@ -12,7 +12,7 @@ export interface InputNumberProps {
|
||||
onChange?: (value: number | string | undefined) => void;
|
||||
disabled?: boolean;
|
||||
size?: 'large' | 'small' | 'default';
|
||||
formatter?: void | ((value: number | string | undefined) => string);
|
||||
formatter?: (value: number | string | undefined) => string;
|
||||
placeholder?: string;
|
||||
style?: React.CSSProperties;
|
||||
className?: string;
|
||||
|
Loading…
Reference in New Issue
Block a user