import React from "react"; import { useTranslation } from "react-i18next"; import { Button, ClipboardCopy, FormGroup, Split, SplitItem, } from "@patternfly/react-core"; import { useFormContext } from "react-hook-form"; import type { ClientForm } from "../ClientDetails"; export type ClientSecretProps = { secret: string; toggle: () => void; }; export const ClientSecret = ({ secret, toggle }: ClientSecretProps) => { const { t } = useTranslation("clients"); const { formState } = useFormContext(); return ( {secret} ); };