'use client' import type { CreateApiKeyResponse } from '@/models/app' import { XMarkIcon } from '@heroicons/react/20/solid' import { useTranslation } from 'react-i18next' import Button from '@/app/components/base/button' import Modal from '@/app/components/base/modal' import InputCopy from './input-copy' import s from './style.module.css' type ISecretKeyGenerateModalProps = { isShow: boolean onClose: () => void newKey?: CreateApiKeyResponse className?: string } const SecretKeyGenerateModal = ({ isShow = false, onClose, newKey, className, }: ISecretKeyGenerateModalProps) => { const { t } = useTranslation() return (

{t('apiKeyModal.generateTips', { ns: 'appApi' })}

) } export default SecretKeyGenerateModal