Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/InputNumber.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import { getDecupleSteps } from './utils/numberUtil';
import { InputFocusOptions, triggerFocus } from 'rc-input/lib/utils/commonUtils';
import useFrame from './hooks/useFrame';

export type { ValueType };

/**
* We support `stringMode` which need handle correct type when user call in onChange
* format max or min value
Expand Down
5 changes: 3 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import InputNumber, { InputNumberProps } from './InputNumber';
import type { InputNumberProps, ValueType } from './InputNumber';
import InputNumber from './InputNumber';

export type { InputNumberProps };
export type { InputNumberProps, ValueType };

export default InputNumber;