import { jsx, Fragment } from "react/jsx-runtime";
import "react";
import "clsx";
import { useInputWrapperContext } from "../Input/InputWrapper.context.mjs";
function InputsGroupFieldset({ children, role }) {
  const ctx = useInputWrapperContext();
  if (!ctx) {
    return /* @__PURE__ */ jsx(Fragment, { children });
  }
  return /* @__PURE__ */ jsx("div", { role, "aria-labelledby": ctx.labelId, "aria-describedby": ctx.describedBy, children });
}
export {
  InputsGroupFieldset
};
