mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Add all-day label to calendar all day events row (#1443)
This commit is contained in:
parent
ae02ec49a9
commit
ba89790d0d
1 changed files with 5 additions and 0 deletions
|
|
@ -71,6 +71,10 @@ export const Calendar = function ({
|
|||
? properties.defaultView
|
||||
: allowedCalendarViews[0];
|
||||
|
||||
const components = {
|
||||
timeGutterHeader: () => <div style={{ height: '100%', display: 'flex', alignItems: 'flex-end' }}>All day</div>,
|
||||
};
|
||||
|
||||
return (
|
||||
<div id={id}>
|
||||
<ReactCalendar
|
||||
|
|
@ -110,6 +114,7 @@ export const Calendar = function ({
|
|||
eventPropGetter={eventPropGetter}
|
||||
tooltipAccessor="tooltip"
|
||||
popup={true}
|
||||
components={components}
|
||||
/>
|
||||
<CalendarEventPopover
|
||||
calenderWidgetId={id}
|
||||
|
|
|
|||
Loading…
Reference in a new issue