allFocusable boolean
Allows all dates and buttons to be focused, including disabled ones
autoNavigateOnSelection boolean
Whether the month view should automatically navigate to the next or previous date range depending on the selected date. If this property is set to true and the currently displayed month is March 2017, if the user clicks on a day outside the month, i.e., April 1st, the picker will automatically navigate to the month of April.
className string
Optional class name to add to the root element.
componentRef IRefObject<ICalendar>
Optional callback to access the ICalendar interface. Use this instead of ref for accessing the public methods and properties of the component.
dateRangeType DateRangeType
The date range type indicating how many days should be selected as the user selects days
dateTimeFormatter ICalendarFormatDateCallbacks
Apply additional formating to dates, for example localized date formatting.
firstDayOfWeek DayOfWeek
The first day of the week for your locale.
firstWeekOfYear FirstWeekOfYear
Defines when the first week of the year should start, FirstWeekOfYear.FirstDay, FirstWeekOfYear.FirstFullWeek or FirstWeekOfYear.FirstFourDayWeek are the possible values
highlightCurrentMonth boolean
Whether the month picker should highlight the current month
highlightSelectedMonth boolean
Whether the month picker should highlight the selected month
isDayPickerVisible boolean
Whether the day picker is shown beside the month picker or hidden.
isMonthPickerVisible boolean
Whether the month picker is shown beside the day picker or hidden.
maxDate Date
If set the Calendar will not allow navigation to or selection of a date later than this value.
minDate Date
If set the Calendar will not allow navigation to or selection of a date earlier than this value.
navigationIcons ICalendarIconStrings
Customize navigation icons using ICalendarIconStrings
onDismiss () => void
Callback issued when calendar is closed
onSelectDate (date: Date, selectedDateRangeArray?: Date[]) => void
Callback issued when a date is selected
restrictedDates Date[]
If set the Calendar will not allow selection of dates in this array.
selectDateOnClick boolean
When clicking on "Today", select the date and close the calendar.
shouldFocusOnMount boolean
This property has been removed at 0.80.0 in place of the focus
method, to be removed \@ 1.0.0.
showCloseButton boolean
Whether the close button should be shown or not
showGoToToday boolean
Whether the "Go to today" link should be shown or not
showMonthPickerAsOverlay boolean
Show month picker on top of date picker when visible.
showSixWeeksByDefault boolean
Whether the calendar should show 6 weeks by default.
showWeekNumbers boolean
Whether the calendar should show the week number (weeks 1 to 53) before each week row
strings ICalendarStrings | null
Localized strings to use in the Calendar
today Date
Value of today. If null, current time in client machine will be used.
value Date
Default value of the Calendar, if any
workWeekDays DayOfWeek[]
The days that are selectable when dateRangeType is WorkWeek. If dateRangeType is not WorkWeek this property does nothing.
yearPickerHidden boolean
Whether the year picker is enabled