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