Timeline
A timeline item to render as part of a timeline list
(code example)
info
This component extends View props.
#
Usage<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 }}/>
#
API#
backgroundColorBackground color for the item
string
#
bottomLineThe bottom line props
LineProps
#
pointThe point props
PointProps
#
renderContentCustom content to render right to the timeline indicator
any
#
stateThe state of the timeline. Will affect the color of the indication (use static 'states')
current | next | error | success
#
testIDThe test id for e2e tests
string
#
topLineThe top line props
LineProps