Browse Source

type: use ValueType from rc-input-number (#43635)

pull/43644/head
MadCcc 1 year ago
committed by GitHub
parent
commit
edd15aaa4c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      components/input-number/index.tsx
  2. 2
      package.json

3
components/input-number/index.tsx

@ -2,9 +2,8 @@
import DownOutlined from '@ant-design/icons/DownOutlined';
import UpOutlined from '@ant-design/icons/UpOutlined';
import type { ValueType } from '@rc-component/mini-decimal';
import classNames from 'classnames';
import type { InputNumberProps as RcInputNumberProps } from 'rc-input-number';
import type { InputNumberProps as RcInputNumberProps, ValueType } from 'rc-input-number';
import RcInputNumber from 'rc-input-number';
import * as React from 'react';
import type { InputStatus } from '../_util/statusUtils';

2
package.json

@ -131,7 +131,7 @@
"rc-field-form": "~1.34.0",
"rc-image": "~7.0.0",
"rc-input": "~1.1.0",
"rc-input-number": "~8.0.0",
"rc-input-number": "~8.0.2",
"rc-mentions": "~2.5.0",
"rc-menu": "~9.10.0",
"rc-motion": "^2.7.3",

Loading…
Cancel
Save