I'm using @syncfusion/ej2-react-schedule component in my React app. I've been trying to modify the default UI of the but nothing works. There is no post about it on Google and their docs is confusing to me.
My question is: how do I modify the component's default look? Like changing to background color or add hover effect ...
import { ScheduleComponent, HeaderRowDirective, HeaderRowsDirective, TimelineMonth, Inject, ViewsDirective, ViewDirective, DragAndDrop, Resize } from '@syncfusion/ej2-react-schedule';
import './Timeline.css';
export default function Timeline() {
return (
<div className='timeline'>
<ScheduleComponent width='100%' height='100%' allowDragAndDrop={true}>
<HeaderRowsDirective>
<HeaderRowDirective option='Month'/>
<HeaderRowDirective option='Date'/>
</HeaderRowsDirective>
<ViewsDirective>
<ViewDirective option='TimelineMonth' interval={12}/>
</ViewsDirective>
<Inject services={[TimelineMonth, Resize, DragAndDrop]}/>
</ScheduleComponent>
</div>
);
}
I've tried className. I've also tried to inspect the elements and get their name, and then use their name in the css file too but nothing works