CalendarUiProps

Props

The following table outlines the props for the CalendarUiProps:

NameTypeDefaultDescription
footerTemplate
((props: CalendarFooterProps) => node)
-

Specifies a custom template for the calendar footer. If not provided, a default footer with a 'Today' button is rendered.

headerTemplate
((props: CalendarHeaderProps) => node)
-

Specifies a custom template for the calendar header. If not provided, a default header with navigation controls is rendered.

orientation
Orientation.Vertical

Specifies the layout orientation of the calendar.

showTodayButton
boolean
true

Specifies whether the calendar shows the Today button in the footer.

showToolBar
boolean
false

Specifies whether the calendar displays an additional toolbar for showing the full selected date.