From eb67050e6dd8deef09a5dabdc53a07ffae9e4d63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E7=82=B9=E5=8C=85=E5=AD=90?= Date: Sat, 28 Mar 2020 15:54:31 +0800 Subject: [PATCH] feat: update timeline icon (#1970) --- components/timeline/Timeline.jsx | 4 +-- .../__tests__/__snapshots__/demo.test.js.snap | 26 +++++-------------- 2 files changed, 9 insertions(+), 21 deletions(-) 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