diff --git a/components/timeline/Timeline.jsx b/components/timeline/Timeline.jsx index 79291138a..42912f73a 100644 --- a/components/timeline/Timeline.jsx +++ b/components/timeline/Timeline.jsx @@ -10,7 +10,7 @@ import { } from '../_util/props-util'; import { cloneElement } from '../_util/vnode'; import TimelineItem from './TimelineItem'; -import Icon from '../icon'; +import LoadingOutlined from '@ant-design/icons-vue/LoadingOutlined'; import { ConfigConsumerProps } from '../config-provider'; export const TimelineProps = { @@ -56,7 +56,7 @@ export default { // }) const pendingItem = pending ? ( - + {pendingNode} ) : null; diff --git a/components/timeline/__tests__/__snapshots__/demo.test.js.snap b/components/timeline/__tests__/__snapshots__/demo.test.js.snap index fde84f745..866f4aa07 100644 --- a/components/timeline/__tests__/__snapshots__/demo.test.js.snap +++ b/components/timeline/__tests__/__snapshots__/demo.test.js.snap @@ -14,11 +14,9 @@ exports[`renders ./antdv-demo/docs/timeline/demo/alternate.md correctly 1`] = `
  • -
    +
    + Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. @@ -36,11 +34,9 @@ exports[`renders ./antdv-demo/docs/timeline/demo/alternate.md correctly 1`] = `
  • -
    +
    + Technical testing 2015-09-01
  • @@ -137,10 +133,7 @@ exports[`renders ./antdv-demo/docs/timeline/demo/custom.md correctly 1`] = `
  • -
    +
    Technical testing 2015-09-01
    @@ -173,9 +166,7 @@ exports[`renders ./antdv-demo/docs/timeline/demo/pending.md correctly 1`] = `
  • -
    +
    Recording...
  • @@ -196,10 +187,7 @@ exports[`renders ./antdv-demo/docs/timeline/demo/right.md correctly 1`] = `
  • -
    +
    Technical testing 2015-09-01