Skip to content

Slots

SlotPropsDescription
timestamp{ timestamp: number, scale: { unit: string, step: number } }Timestamp label
timestamps-before{ scale: { unit: string, step: number } }Injected before the timestamps
timestamps-after{ scale: { unit: string, step: number } }Injected after the timestamps
group-label{ group: TimelineGroup }Group label
items-GROUPID{ group: TimelineGroup, itemsInViewport: TimelineItem[], viewportStart: number, viewportEnd: number }Slot for all items within a group, useful when rendering the items manually (e.g. when using a chart or canvas)
item{ item: TimelineItem }Item content