Timeline
A timeline item to render as part of a timeline list
(code example)
info
This component extends View props.
Usageβ
Live Editor
<Timeline renderContent={} state={Timeline.states.NEXT}/> topLine={{ state: Timeline.states.ERROR }} bottomLine={{ type: Timeline.lineTypes.DASHED, color: Colors.orange40 }} point={{ type: Timeline.pointTypes.OUTLINE, color: Colors.orange40, icon: Assets.icons.demo.camera, targetContainerRef: targetContainer, alignmentTargetRef: target }} />
Result
Loading...
APIβ
backgroundColorβ
Background color for the item
string
bottomLineβ
The bottom line props
LineProps
pointβ
The point props
PointProps
renderContentβ
Custom content to render right to the timeline indicator
any
stateβ
The state of the timeline. Will affect the color of the indication (use static 'states')
current | next | error | success
testIDβ
The test id for e2e tests
string
topLineβ
The top line props
LineProps