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/base/svg/index.tsx |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/app/components/base/svg/index.tsx b/app/components/base/svg/index.tsx
index d29fd17..bf7cb08 100644
--- a/app/components/base/svg/index.tsx
+++ b/app/components/base/svg/index.tsx
@@ -1,7 +1,5 @@
 import React from 'react'
 import s from './style.module.css'
-import ActionButton from '../action-button'
-import cn from '@/utils/classnames'
 
 type ISVGBtnProps = {
   isSVG: boolean
@@ -13,9 +11,12 @@
   setIsSVG,
 }: ISVGBtnProps) => {
   return (
-    <ActionButton onClick={() => { setIsSVG(prevIsSVG => !prevIsSVG) }}>
-      <div className={cn('h-4 w-4', isSVG ? s.svgIconed : s.svgIcon)}></div>
-    </ActionButton>
+    <div
+      className={'box-border p-0.5 flex items-center justify-center rounded-md bg-white cursor-pointer'}
+      onClick={() => { setIsSVG(prevIsSVG => !prevIsSVG) }}
+    >
+      <div className={`w-6 h-6 rounded-md hover:bg-gray-50 ${s.svgIcon} ${isSVG ? s.svgIconed : ''}`}></div>
+    </div>
   )
 }
 

--
Gitblit v1.8.0