'use client' import React from 'react' import Button from '@/app/components/base/button' import type { PluginDeclaration } from '../../../types' import Card from '../../../card' import Badge, { BadgeState } from '@/app/components/base/badge/index' import { pluginManifestToCardPluginProps } from '../../utils' import { useTranslation } from 'react-i18next' type LoadedProps = { isLoading: boolean payload: PluginDeclaration onBack: () => void onInstall: () => void } const i18nPrefix = 'plugin.installModal' const Loaded: React.FC = ({ isLoading, payload, onBack, onInstall }) => { const { t } = useTranslation() return ( <>

{t(`${i18nPrefix}.readyToInstall`)}

{payload.version}} />
) } export default Loaded