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

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

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