/* eslint-disable */ // @ts-nocheck import { useTranslation } from "react-i18next"; import { Modal, ModalVariant } from "../../../shared/@patternfly/react-core"; import { Table, TableVariant, Tbody, Td, Th, Thead, Tr, } from "../../../shared/@patternfly/react-table"; type CredentialDataDialogProps = { title: string; credentialData: [string, string][]; onClose: () => void; }; export const CredentialDataDialog = ({ title, credentialData, onClose, }: CredentialDataDialogProps) => { const { t } = useTranslation(); return ( {credentialData.map((cred, index) => { return ( ); })}
{t("showPasswordDataName")} {t("showPasswordDataValue")}
{cred[0]} {cred[1]}
); };