We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d98341 commit 66a516bCopy full SHA for 66a516b
src/InputNumber.tsx
@@ -18,6 +18,8 @@ import { getDecupleSteps } from './utils/numberUtil';
18
import { InputFocusOptions, triggerFocus } from 'rc-input/lib/utils/commonUtils';
19
import useFrame from './hooks/useFrame';
20
21
+export type { ValueType };
22
+
23
/**
24
* We support `stringMode` which need handle correct type when user call in onChange
25
* format max or min value
src/index.ts
@@ -1,5 +1,6 @@
1
-import InputNumber, { InputNumberProps } from './InputNumber';
+import type { InputNumberProps, ValueType } from './InputNumber';
2
+import InputNumber from './InputNumber';
3
-export type { InputNumberProps };
4
+export type { InputNumberProps, ValueType };
5
6
export default InputNumber;
0 commit comments