diff --git a/components/input-number/index.tsx b/components/input-number/index.tsx index 90ff6d9bd9..61823fb7f5 100644 --- a/components/input-number/index.tsx +++ b/components/input-number/index.tsx @@ -1,5 +1,6 @@ import * as React from 'react'; -import { MinusOutlined, PlusOutlined } from '@ant-design/icons'; +import MinusOutlined from '@ant-design/icons/MinusOutlined'; +import PlusOutlined from '@ant-design/icons/PlusOutlined'; import DownOutlined from '@ant-design/icons/DownOutlined'; import UpOutlined from '@ant-design/icons/UpOutlined'; import RcInputNumber from '@rc-component/input-number'; diff --git a/components/timeline/useItems.tsx b/components/timeline/useItems.tsx index f5d440c7ff..01323f0e1d 100644 --- a/components/timeline/useItems.tsx +++ b/components/timeline/useItems.tsx @@ -1,5 +1,5 @@ import * as React from 'react'; -import { LoadingOutlined } from '@ant-design/icons'; +import LoadingOutlined from '@ant-design/icons/LoadingOutlined'; import { toArray } from '@rc-component/util'; import { clsx } from 'clsx';