"use client";
import { ark } from "../factory.js";
import { useFieldsetContext } from "./use-fieldset-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/fieldset/fieldset-helper-text.tsx
var FieldsetHelperText = forwardRef((props, ref) => {
	const mergedProps = mergeProps(useFieldsetContext().getHelperTextProps(), props);
	return /* @__PURE__ */ jsx(ark.span, {
		...mergedProps,
		ref
	});
});
FieldsetHelperText.displayName = "FieldsetHelperText";
//#endregion
export { FieldsetHelperText };
