/* eslint-disable */ // @ts-nocheck import { FormGroup } from "../../../shared/@patternfly/react-core"; import { useFormContext } from "react-hook-form"; import { useTranslation } from "react-i18next"; import { KeycloakTextArea, HelpItem } from "../../../shared/keycloak-ui-shared"; import type { ComponentProps } from "./components"; export const TextComponent = ({ name, label, helpText, defaultValue, required, isDisabled = false, convertToName, }: ComponentProps) => { const { t } = useTranslation(); const { register } = useFormContext(); return ( } fieldId={name!} required={required} > ); };