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

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

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