import React, { useState } from "react"; import { FormGroup, Select, SelectVariant, SelectOption, } from "@patternfly/react-core"; import { useTranslation } from "react-i18next"; import { Controller, UseFormMethods } from "react-hook-form"; import { useLoginProviders } from "../../context/server-info/ServerInfoProvider"; import { ClientDescription } from "../ClientDescription"; import { FormAccess } from "../../components/form-access/FormAccess"; type GeneralSettingsProps = { form: UseFormMethods; }; export const GeneralSettings = ({ form }: GeneralSettingsProps) => { const { t } = useTranslation(); const { errors, control } = form; const providers = useLoginProviders(); const [open, isOpen] = useState(false); return ( ( )} /> ); };