ExpandableCalendar
Expandable calendar component
(code example)
info
This component extends CalendarList props.
NOTE: This component should be wrapped with CalendarProvider
component.
API​
initialPosition​
The initial position of the calendar ('open' | 'closed')
PositionsonCalendarToggled​
Handler which gets executed when the calendar is opened or closed
(isOpen: boolean) => voiddisablePan​
Whether to disable the pan gesture and disable the opening and closing of the calendar (initialPosition will persist)
booleanhideKnob​
Whether to hide the knob
booleanleftArrowImageSource​
The source for the left arrow image
ImageSourcePropTyperightArrowImageSource​
The source for the right arrow image
ImageSourcePropTypeallowShadow​
Whether to have shadow/elevation for the calendar
booleandisableWeekScroll​
Whether to disable the week scroll in closed position
booleanopenThreshold​
The threshold for opening the calendar with the pan gesture
numbercloseThreshold​
The threshold for closing the calendar with the pan gesture
numbercloseOnDayPress​
Whether to close the calendar on day press
boolean