fix formatter types

This commit is contained in:
afc163 2017-03-10 18:20:28 +08:00
parent a73d7d6f22
commit 928126e3b3

View File

@ -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;