import { Form, FormGroup, Switch } from "@patternfly/react-core"; import { useTranslation } from "react-i18next"; import React from "react"; import { HelpItem } from "../components/help-enabler/HelpItem"; import { useForm, Controller } from "react-hook-form"; import ComponentRepresentation from "keycloak-admin/lib/defs/componentRepresentation"; export const LdapSettingsAdvanced = () => { const { t } = useTranslation("user-federation"); const helpText = useTranslation("user-federation-help").t; const { handleSubmit, control } = useForm(); const onSubmit = (data: ComponentRepresentation) => { console.log(data); }; return ( <>
} fieldId="kc-enable-ldapv3-password" hasNoPaddingTop > ( )} > } fieldId="kc-validate-password-policy" hasNoPaddingTop > ( )} > } fieldId="kc-trust-email" hasNoPaddingTop > ( )} >
); };