start | The beginning of a period that shall be selectable by default when no value is given. Defaults to new Date(1987, 9, 29) . | new Date(2017, 5, 1) |
end | The ending of a period that shall be selectable by default when no value is given. Defaults to new Date(2020, 9, 29) . | new Date(2020, 5, 1) |
onChange | Function called when the user clicks an item (day on month view, month on year view and so on) on the most detailed view available. | (value) => console.log('New date is: ', value) |
onOpened | Function called when calendar is opened. | (value) => console.log('onOpened') |
onClosed | Function called when calendar is closed. | (value) => console.log('onClosed') |
value | Defines the value of the calendar. Defaults to new Date() . | Date: new Date() |
format | dayjs date format string for default trigger button. Defaults to "dddd, MMMM D, YYYY" | "dddd, MMMM D, YYYY" |