function TimelineMarker(props) {
    const context = useContext(ActivityTimelineContext);
    if (context) {
        // eslint-disable-next-line react/jsx-props-no-spreading
        return <AccordionTimelineMarker {...props} />;
    }
    // eslint-disable-next-line react/jsx-props-no-spreading
    return <BasicTimelineMarker {...props} />;
}
The TimelineMarker displays one event of an item's timeline. It's generally used to compose the ActivityTimeline component.
@category Layout