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

//#region src/components/Form/elements/CheckboxElement.tsx
const CheckboxComponent = ({ inputLabel, ...props }) => /* @__PURE__ */ jsx(Checkbox, {
	...props,
	label: inputLabel
});
const CheckboxElement = ({ autoComplete, ...props }) => /* @__PURE__ */ jsx(FormElement, {
	Element: CheckboxComponent,
	id: props.name,
	"data-testid": props.name,
	autoComplete,
	minLength: 6,
	maxLength: 255,
	...props
});

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