- Eat
- Code
- Sleep
Left-positioned timeline
The main content of the timeline can be positioned on the left side relative to the time axis.
- Eat
- Code
- Sleep
- Repeat
- Eat
- Code
- Sleep
- Repeat
- Secondary
- Success
<Timeline position="alternate">
<TimelineItem>
<TimelineSeparator>
<TimelineDot color="secondary" />
<TimelineConnector />
</TimelineSeparator>
<TimelineContent>Secondary</TimelineContent>
</TimelineItem>
<TimelineItem>
<TimelineSeparator>
<TimelineDot color="success" />
</TimelineSeparator>
<TimelineContent>Success</TimelineContent>
</TimelineItem>
</Timeline>
- Eat
- Code
- Sleep
- Repeat
- 09:30 amEat
- 10:00 amCode
- 12:00 amSleep
- 9:00 amRepeat
定制的时间轴
以下是自定义组件的一个示例。 您可以在 重写文档页面 中了解更多有关此内容的信息。
- 9:30 amEat
Because you need strength
- 10:00 amCode
Because it's awesome!
- Sleep
Because you need rest
- Repeat
Because this is the life you love!