mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 07:09:55 +08:00
722 B
722 B
order | title | ||||
---|---|---|---|---|---|
2 |
|
zh-CN
当任务状态正在发生,还在记录过程中,可用幽灵节点来表示当前的时间节点。(用于时间正序排列)
en-US
When the timeline is incomplete and ongoing, put a ghost node at last. set pending={true}
or pending={a React Element}
. Used in ascend chronological order.
import { Timeline } from 'antd';
ReactDOM.render(
<Timeline pending="Recording...">
<Timeline.Item>Create a services site 2015-09-01</Timeline.Item>
<Timeline.Item>Solve initial network problems 2015-09-01</Timeline.Item>
<Timeline.Item>Technical testing 2015-09-01</Timeline.Item>
</Timeline>
, mountNode);