Timeline
@spartanfx/react / Timeline
Variable: Timeline
constTimeline:React.FC<ITimelineProps>
Timeline component that renders a sequence of steps with start and end nodes.
Example
<Timeline
steps={[
{ id: '1', name: 'Planning', date: new Date('2024-01-15') },
{ id: '2', name: 'Development', date: new Date('2024-02-20') },
{ id: '3', name: 'Launch', date: new Date('2024-03-30') },
]}
highlightStates={true}
orientation="horizontal"
onClick={(step) => console.log('Clicked:', step)}
/>