I was trying to work with the component and since it doesn't provide me a lot of control over the underlying elements, I'm trying to access the elements from the DOM and then manipulate them. One issue that I faced was that there is no class/id or any unique-identifier in any of the elements. When I tried to access the events, I had to do something like this:
const calendarEvents = calendarRef.current.children[0].children[1].children[0].children[0].children[1].children[1].children[0].children;
Please put classNames and ids for each component so that it can be manipulated from the DOM.
Great library btw!
I was trying to work with the component and since it doesn't provide me a lot of control over the underlying elements, I'm trying to access the elements from the DOM and then manipulate them. One issue that I faced was that there is no class/id or any unique-identifier in any of the elements. When I tried to access the events, I had to do something like this:
const calendarEvents = calendarRef.current.children[0].children[1].children[0].children[0].children[1].children[1].children[0].children;Please put classNames and ids for each component so that it can be manipulated from the DOM.
Great library btw!