import { TextArea } from "../../TextArea/TextArea.mjs";
import { FormElement } from "./FormElement.mjs";
import { jsx } from "react/jsx-runtime";

//#region src/components/Form/elements/TextAreaElement.tsx
const TextAreaElement = (props) => /* @__PURE__ */ jsx(FormElement, {
	Element: TextArea,
	id: props.name,
	"aria-labelledby": props.label ? `${props.name}-label` : void 0,
	"aria-label": props.label ? void 0 : props.name,
	"data-testid": props.name,
	...props
});

//#endregion
export { TextAreaElement };
//# sourceMappingURL=TextAreaElement.mjs.map