"use client";
import { ark } from "../factory.js";
import { useDateInputContext } from "./use-date-input-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/date-input/date-input-label.tsx
var DateInputLabel = forwardRef((props, ref) => {
	const mergedProps = mergeProps(useDateInputContext().getLabelProps(), props);
	return /* @__PURE__ */ jsx(ark.label, {
		...mergedProps,
		ref
	});
});
DateInputLabel.displayName = "DateInputLabel";
//#endregion
export { DateInputLabel };
