# Function: DayPickerProvider() > **DayPickerProvider**(`props`): `JSX.Element` The provider for the [DayPickerContext](../variables/DayPickerContext.md), assigning the defaults from the initial DayPicker props. ## Parameters | Parameter | Type | | :------ | :------ | | `props` | [`DayPickerProviderProps`](../interfaces/DayPickerProviderProps.md) | ## Returns `JSX.Element` ## Source [src/contexts/DayPicker/DayPickerContext.tsx:77](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/contexts/DayPicker/DayPickerContext.tsx#L77)