From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/app/configuration/config/automatic/automatic-btn.tsx | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app/components/app/configuration/config/automatic/automatic-btn.tsx b/app/components/app/configuration/config/automatic/automatic-btn.tsx index b2d4e30..f709760 100644 --- a/app/components/app/configuration/config/automatic/automatic-btn.tsx +++ b/app/components/app/configuration/config/automatic/automatic-btn.tsx @@ -2,10 +2,7 @@ import type { FC } from 'react' import React from 'react' import { useTranslation } from 'react-i18next' -import { - RiSparklingFill, -} from '@remixicon/react' -import Button from '@/app/components/base/button' +import { Generator } from '@/app/components/base/icons/src/vender/other' export type IAutomaticBtnProps = { onClick: () => void @@ -16,10 +13,12 @@ const { t } = useTranslation() return ( - <Button variant='secondary-accent' size='small' onClick={onClick}> - <RiSparklingFill className='mr-1 h-3.5 w-3.5' /> - <span className=''>{t('appDebug.operation.automatic')}</span> - </Button> + <div className='flex space-x-1 items-center !h-8 cursor-pointer' + onClick={onClick} + > + <Generator className='w-3.5 h-3.5 text-indigo-600' /> + <span className='text-xs font-semibold text-indigo-600'>{t('appDebug.operation.automatic')}</span> + </div> ) } export default React.memo(AutomaticBtn) -- Gitblit v1.8.0