I am facing some issue in react-calendar-timeline . i create a calendar using this package:
https://www.npmjs.com/package/react-calendar-timeline
my code:
this.state = {
items: [],
groups: [],
componentDidMount() {
var self = this;
axios
.get(
`http://localhost/v1/appointments`
)
.then(function(res){
....
const itemsArray = items;
const groupsArray = groups;
self.setState({
groups: groupsArray,
items: itemsArray,
});
});
}
<Timeline
groups={this.state.groups}
items={this.state.items}
defaultTimeStart={moment().subtract(1, 'hour')}
defaultTimeEnd={moment().add(3, 'hour').add(30, "minute")}
/>
I want to current date vertical lines on calendar
expected output
What should i do? anyone tell me please?

