From f3bbf778f84b8b7a85b343be23cc2cdafe6fd1bb Mon Sep 17 00:00:00 2001 From: zhujun24 Date: Mon, 7 Sep 2015 15:13:59 +0800 Subject: [PATCH] continue api position --- .../timeline/demo/{end.md => continue.md} | 6 +++--- components/timeline/index.jsx | 17 ++++++++++------- components/timeline/index.md | 9 ++++++++- 3 files changed, 21 insertions(+), 11 deletions(-) rename components/timeline/demo/{end.md => continue.md} (79%) diff --git a/components/timeline/demo/end.md b/components/timeline/demo/continue.md similarity index 79% rename from components/timeline/demo/end.md rename to components/timeline/demo/continue.md index 21cdc20d2..d8955b70b 100644 --- a/components/timeline/demo/end.md +++ b/components/timeline/demo/continue.md @@ -8,13 +8,13 @@ ````jsx let Timeline = antd.Timeline; -let container = document.getElementById('components-timeline-demo-end'); +let container = document.getElementById('components-timeline-demo-continue'); React.render( - + 创建服务现场 2015-09-01 初步排除网络异常 2015-09-01 - 技术测试异常 2015-09-01 + 技术测试异常 2015-09-01 , container); ```` diff --git a/components/timeline/index.jsx b/components/timeline/index.jsx index 59e79cf03..be08b83f8 100644 --- a/components/timeline/index.jsx +++ b/components/timeline/index.jsx @@ -8,11 +8,13 @@ let Timeline = React.createClass({ }, render() { let children = this.props.children; + let continuee = this.props.continue; return (