Timeline
A vertical or horizontal timeline rendered as an ordered list.
Overview
- `value`: the current step. Items with
step <= valuegetdata-completed(filled indicator and separator), and the current one getsaria-current="step". - `TimelineItem`: composed from
TimelineHeader(TimelineDate,TimelineTitle,TimelineIndicator),TimelineSeparatorandTimelineContent.
Installation
CLI
Manual
- 1
Register the @fma-ds namespace in components.json (once)
- 2
Add the item
Files land in
components/fma-ds/timeline.tsx; npm and registry dependencies are installed along with them.
Dependencies
- npm
- cn@^0.5.0
- Registry
- None