Browse Source

perf: import icons #5822

pull/5839/head
tangjinzhou 2 years ago
parent
commit
c739e498c5
  1. 2
      components/tabs/src/TabNavList/OperationNode.tsx
  2. 3
      components/tabs/src/Tabs.tsx

2
components/tabs/src/TabNavList/OperationNode.tsx

@ -9,7 +9,7 @@ import classNames from '../../../_util/classNames';
import { defineComponent, watch, computed, onMounted } from 'vue';
import PropTypes from '../../../_util/vue-types';
import useState from '../../../_util/hooks/useState';
import { EllipsisOutlined } from '@ant-design/icons-vue';
import EllipsisOutlined from '@ant-design/icons-vue/EllipsisOutlined';
export const operationNodeProps = {
prefixCls: { type: String },

3
components/tabs/src/Tabs.tsx

@ -18,7 +18,8 @@ import useState from '../../_util/hooks/useState';
import isMobile from '../../vc-util/isMobile';
import useMergedState from '../../_util/hooks/useMergedState';
import classNames from '../../_util/classNames';
import { CloseOutlined, PlusOutlined } from '@ant-design/icons-vue';
import CloseOutlined from '@ant-design/icons-vue/CloseOutlined';
import PlusOutlined from '@ant-design/icons-vue/PlusOutlined';
import devWarning from '../../vc-util/devWarning';
import type { SizeType } from '../../config-provider';
import { useProvideTabs } from './TabContext';

Loading…
Cancel
Save