"use client";
const require_factory = require("../factory.cjs");
const require_use_date_picker_context = require("./use-date-picker-context.cjs");
const require_use_date_picker_view_props_context = require("./use-date-picker-view-props-context.cjs");
let react = require("react");
let _zag_js_react = require("@zag-js/react");
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/components/date-picker/date-picker-prev-trigger.tsx
var DatePickerPrevTrigger = (0, react.forwardRef)((props, ref) => {
	const datePicker = require_use_date_picker_context.useDatePickerContext();
	const viewProps = require_use_date_picker_view_props_context.useDatePickerViewPropsContext();
	const mergedProps = (0, _zag_js_react.mergeProps)(datePicker.getPrevTriggerProps(viewProps), props);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.ark.button, {
		...mergedProps,
		ref
	});
});
DatePickerPrevTrigger.displayName = "DatePickerPrevTrigger";
//#endregion
exports.DatePickerPrevTrigger = DatePickerPrevTrigger;
