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.

Access to this context from the useDayPicker hook.

Defined in

src/contexts/DayPicker/DayPickerContext.tsx:57