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

{t('appApi.apiKeyModal.generateTips')}

) } export default SecretKeyGenerateModal