CalendarProvider
Calendar context provider component
(code example)
info
This component extends Context props.
API​
theme​
Specify theme properties to override specific styles for calendar parts
Themestyle​
Specify style for calendar container element
ViewStyledate​
Initial date in 'yyyy-MM-dd' format
stringonDateChanged​
Handler which gets executed when the date changes
(date: string, updateSource: UpdateSource) => voidonMonthChange​
Handler which gets executed when the month changes
(date: DateData, updateSource: UpdateSource) => voidshowTodayButton​
Whether to show the today button
booleantodayButtonStyle​
Today button's style
ViewStyletodayBottomMargin​
Today button's top position
numberdisabledOpacity​
The opacity for the disabled today button (0-1)
number