ztxkui 4.3.4 → 4.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { InputNumberProps } from 'antd/lib/input-number';
3
3
  import { IFormatterType, ICurrencySymbol } from '../../hooks/useFormatter';
4
- interface IProps extends InputNumberProps {
4
+ interface IProps extends Omit<InputNumberProps, 'onChange'> {
5
5
  /**
6
6
  * 自定义转换
7
7
  * currency: 货币转换 千分符
@@ -25,6 +25,7 @@ interface IProps extends InputNumberProps {
25
25
  * 超出最大值或最小值触发得事件
26
26
  */
27
27
  onOverRange?: (type: 'maxType' | 'minType') => void;
28
+ onChange?: (value: any) => void;
28
29
  }
29
30
  declare function InputNumber(props: IProps): JSX.Element;
30
31
  declare const _default: React.MemoExoticComponent<typeof InputNumber>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "4.3.4",
3
+ "version": "4.3.5",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",