| | |
| | | const { t } = useTranslation() |
| | | return ( |
| | | <Modal isShow={isShow} onClose={onClose} title={`${t('appApi.apiKeyModal.apiSecretKey')}`} className={`px-8 ${className}`}> |
| | | <XMarkIcon className={`absolute h-6 w-6 cursor-pointer text-text-tertiary ${s.close}`} onClick={onClose} /> |
| | | <p className='mt-1 text-[13px] font-normal leading-5 text-text-tertiary'>{t('appApi.apiKeyModal.generateTips')}</p> |
| | | <XMarkIcon className={`w-6 h-6 absolute cursor-pointer text-gray-500 ${s.close}`} onClick={onClose} /> |
| | | <p className='mt-1 text-[13px] text-gray-500 font-normal leading-5'>{t('appApi.apiKeyModal.generateTips')}</p> |
| | | <div className='my-4'> |
| | | <InputCopy className='w-full' value={newKey?.token} /> |
| | | </div> |
| | | <div className='my-4 flex justify-end'> |
| | | <Button className={`shrink-0 ${s.w64}`} onClick={onClose}> |
| | | <span className='text-xs font-medium text-text-secondary'>{t('appApi.actionMsg.ok')}</span> |
| | | <div className='flex justify-end my-4'> |
| | | <Button className={`flex-shrink-0 ${s.w64}`} onClick={onClose}> |
| | | <span className='text-xs font-medium text-gray-800'>{t('appApi.actionMsg.ok')}</span> |
| | | </Button> |
| | | </div> |
| | | |