import { useState } from "react"; import { useTranslation } from "react-i18next"; import { Controller, useFormContext } from "react-hook-form"; import { FormGroup, Select, SelectOption, SelectVariant, } from "@patternfly/react-core"; import { useServerInfo } from "../../context/server-info/ServerInfoProvider"; import { HelpItem } from "../../components/help-enabler/HelpItem"; import { convertAttributeNameToForm, sortProviders } from "../../util"; export const SignedJWT = () => { const { control } = useFormContext(); const providers = sortProviders( useServerInfo().providers!.clientSignature.providers ); const { t } = useTranslation("clients"); const [open, isOpen] = useState(false); return ( } > ( )} /> ); };