Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
variable DayPickerContext
import { DayPickerContext } from "https://deno.land/x/netzo@0.3.66/deps/react-day-picker.ts";

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.

type

React$1.Context<DayPickerContextValue | undefined>