/// import { InputNumberProps } from 'antd/lib/input-number'; import { IFormatterType, ICurrencySymbol } from '../../hooks/useFormatter'; export interface IProps extends InputNumberProps { /** * 自定义转换 * currency: 货币转换 千分符 * percent: 添加百分号 * thousands: 添加千分号 */ formatterType?: IFormatterType; /** * 货币转换符号 */ currencySymbol?: ICurrencySymbol; /** * 超出最大值提示 */ overMaxTip?: string; /** * 低于最小值提示 */ lowMinTip?: string; /** * 超出最大值或最小值触发得事件 */ onOverRange?: (type: 'maxType' | 'minType') => void; /** * 双击开启输入 */ doubleClickReadOnly?: boolean; } declare function InputNumber(props: IProps): JSX.Element; export default InputNumber;