Finished
This is a description.
diff --git a/components/steps/index.jsx b/components/steps/index.jsx
index 6d50e5755..2c60e6c81 100644
--- a/components/steps/index.jsx
+++ b/components/steps/index.jsx
@@ -1,7 +1,8 @@
+import CloseOutlined from '@ant-design/icons-vue/CloseOutlined';
+import CheckOutlined from '@ant-design/icons-vue/CheckOutlined';
import PropTypes from '../_util/vue-types';
import { initDefaultProps, getOptionProps, getListeners } from '../_util/props-util';
import VcSteps from '../vc-steps';
-import Icon from '../icon';
import { ConfigConsumerProps } from '../config-provider';
import Base from '../base';
@@ -42,8 +43,8 @@ const Steps = {
const iconPrefix = getPrefixCls('', customizeIconPrefixCls);
const icons = {
- finish:
,
- error:
,
+ finish:
,
+ error:
,
};
const stepsProps = {
props: {
diff --git a/components/switch/__tests__/__snapshots__/demo.test.js.snap b/components/switch/__tests__/__snapshots__/demo.test.js.snap
index f6de9f256..196bc8e51 100644
--- a/components/switch/__tests__/__snapshots__/demo.test.js.snap
+++ b/components/switch/__tests__/__snapshots__/demo.test.js.snap
@@ -4,14 +4,8 @@ exports[`renders ./antdv-demo/docs/switch/demo/basic.md correctly 1`] = `
`;
-exports[`renders ./antdv-demo/docs/switch/demo/loading.md correctly 1`] = `
-
-`;
+exports[`renders ./antdv-demo/docs/switch/demo/loading.md correctly 1`] = `
`;
exports[`renders ./antdv-demo/docs/switch/demo/size.md correctly 1`] = `
`;
-exports[`renders ./antdv-demo/docs/switch/demo/text.md correctly 1`] = `
`;
+exports[`renders ./antdv-demo/docs/switch/demo/text.md correctly 1`] = `
`;
diff --git a/components/switch/index.jsx b/components/switch/index.jsx
index fae809549..cbf7e9435 100644
--- a/components/switch/index.jsx
+++ b/components/switch/index.jsx
@@ -1,8 +1,8 @@
+import LoadingOutlined from '@ant-design/icons-vue/LoadingOutlined';
import PropTypes from '../_util/vue-types';
import hasProp, { getOptionProps, getComponentFromProp, getListeners } from '../_util/props-util';
import VcSwitch from '../vc-switch';
import Wave from '../_util/wave';
-import Icon from '../icon';
import { ConfigConsumerProps } from '../config-provider';
import Base from '../base';
import warning from '../_util/warning';
@@ -58,7 +58,7 @@ const Switch = {
[`${prefixCls}-loading`]: loading,
};
const loadingIcon = loading ? (
-
+
) : null;
const switchProps = {
props: {
diff --git a/components/tabs/TabBar.jsx b/components/tabs/TabBar.jsx
index aba267d77..a961b9bf9 100644
--- a/components/tabs/TabBar.jsx
+++ b/components/tabs/TabBar.jsx
@@ -1,4 +1,7 @@
-import Icon from '../icon';
+import UpOutlined from '@ant-design/icons-vue/UpOutlined';
+import DownOutlined from '@ant-design/icons-vue/DownOutlined';
+import LeftOutlined from '@ant-design/icons-vue/LeftOutlined';
+import RightOutlined from '@ant-design/icons-vue/RightOutlined';
import ScrollableInkTabBar from '../vc-tabs/src/ScrollableInkTabBar';
import { cloneElement } from '../_util/vnode';
const TabBar = {
@@ -17,16 +20,22 @@ const TabBar = {
const inkBarAnimated = typeof animated === 'object' ? animated.inkBar : animated;
const isVertical = tabPosition === 'left' || tabPosition === 'right';
- const prevIconType = isVertical ? 'up' : 'left';
- const nextIconType = isVertical ? 'down' : 'right';
const prevIcon = (
-
+ {
+ isVertical ?
+ :
+
+ }
);
const nextIcon = (
-
+ {
+ isVertical ?
+ :
+
+ }
);
diff --git a/components/tabs/__tests__/__snapshots__/demo.test.js.snap b/components/tabs/__tests__/__snapshots__/demo.test.js.snap
index 029fce7c1..a4c255ded 100644
--- a/components/tabs/__tests__/__snapshots__/demo.test.js.snap
+++ b/components/tabs/__tests__/__snapshots__/demo.test.js.snap
@@ -4,7 +4,7 @@ exports[`renders ./antdv-demo/docs/tabs/demo/basic.md correctly 1`] = `