react-day-picker
Version:
Customizable Date Picker for React
12 lines • 530 B
JavaScript
import React from "react";
import { DayPicker as DayPickerComponent } from "./index.js";
/**
* @deprecated Use the `timeZone` prop instead of this function. This function
* wraps the DayPicker component and sets the `timeZone` to "utc".
* @param props - The props to pass to the DayPicker component.
* @returns The DayPicker component with the `timeZone` set to "utc".
*/
export function DayPicker(props) {
return React.createElement(DayPickerComponent, { timeZone: "utc", ...props });
}
//# sourceMappingURL=utc.js.map