Calendar context provider component
(code example)
:::info
This component extends Context props.
:::
Specify theme properties to override specific styles for calendar parts
<span style={{color: 'grey'}}>Theme
Specify style for calendar container element
<span style={{color: 'grey'}}>ViewStyle
Initial date in 'yyyy-MM-dd' format
<span style={{color: 'grey'}}>string
Handler which gets executed when the date changes
<span style={{color: 'grey'}}>(date: string, updateSource: UpdateSource) => void
Handler which gets executed when the month changes
<span style={{color: 'grey'}}>(date: DateData, updateSource: UpdateSource) => void
The calendar navigation type in which to disable the auto day selection (get options from ExpandableCalendar.navigationTypes)
<span style={{color: 'grey'}}>CalendarNavigationTypes[]
Whether to show the today button
<span style={{color: 'grey'}}>boolean
Today button's style
<span style={{color: 'grey'}}>ViewStyle
Today button's top position
<span style={{color: 'grey'}}>number
The opacity for the disabled today button (0-1)
<span style={{color: 'grey'}}>number
The number of days to present in the timeline calendar (1-7)
<span style={{color: 'grey'}}>number
The left inset of the timeline calendar (sidebar width)
<span style={{color: 'grey'}}>number