I have a case where a tasks has a deadline but it's completed before the deadline, we want to show both deadline and completed date in the bar as in the below screenshot,
Here is the data model for the event item:
return <MilestoneEventObject>{
id: item.id,
icon: icon,
type: itemType,
name: item.title,
startDate: "2020-01-13T21:03:43.114+01:00",
endDate: "2020-01-17T21:03:43.114+01:00",
earlyEndDate: "2020-01-15T21:03:43.114+01:00",
expanded: expandedByDefault,
eventColor: status.COLOR,
children: []
}