I'm looking to make a custom header for a day view.
for example to count how many events per day and to make header like that:
01-03-2019 (8 events)
how I can make it?
You can specify the day header component in the calendar
components: {
day: {
header: YourCalendarDateHeader,
},
}
This isn't working for me.
Example
components={{
week: {
header: ({ date, localizer }) => localizer.format(date, 'dddd')
}
}}
If someone stumbled upon this problem:
components={{
resourceHeader: ({label, resoure, index}) => {}
}}