@babylimon/react-calendar-timeline
Version:
react calendar timeline
21 lines (16 loc) • 478 B
JavaScript
// Is this necessary? The initial reason for including this is for organization sake in the
// user code e.g.
/*
<Timeline {...otherProps}>
<TimelineMarkers> // would there be props passed in here?
<TodayLine />
<CursorLine />
<CustomLine />
</TimelineMarkers>
</Timeline>
*/
// If we decide to pass in props to TimelineMarkers, then yes, this is necessary.
const TimelineMarkers = props => {
return props.children || null
}
export default TimelineMarkers