"use client";
import { ark } from "../factory.js";
import { useDatePickerContext } from "./use-date-picker-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/date-picker/date-picker-clear-trigger.tsx
var DatePickerClearTrigger = forwardRef((props, ref) => {
	const mergedProps = mergeProps(useDatePickerContext().getClearTriggerProps(), props);
	return /* @__PURE__ */ jsx(ark.button, {
		...mergedProps,
		ref
	});
});
DatePickerClearTrigger.displayName = "DatePickerClearTrigger";
//#endregion
export { DatePickerClearTrigger };
