'use client' import { useState } from 'react' import { useTranslation } from 'react-i18next' import Button from '@/app/components/base/button' import SecretKeyModal from '@/app/components/develop/secret-key/secret-key-modal' // import { KeyIcon } from '@heroicons/react/20/solid' type ISecretKeyButtonProps = { className?: string appId?: string iconCls?: string textCls?: string } const SecretKeyButton = ({ className, appId, iconCls, textCls }: ISecretKeyButtonProps) => { const [isVisible, setVisible] = useState(false) const { t } = useTranslation() return ( <> setVisible(false)} appId={appId} /> ) } export default SecretKeyButton