Skip to main content

Variable: DayPickerContext

Const DayPickerContext: Context<undefined | DayPickerContextValue>

The DayPicker Context shares the props passed to DayPicker within internal and custom components. It is used to set the default values and perform one-time calculations required to render the days.

Developers may access this context from the useDayPicker hook when using custom components.

Defined in

contexts/DayPicker/DayPickerContext.tsx:51