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/icons/src/image/llm/MinimaxText.tsx |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/app/components/base/icons/src/image/llm/MinimaxText.tsx b/app/components/base/icons/src/image/llm/MinimaxText.tsx
index 840e8cb..490a977 100644
--- a/app/components/base/icons/src/image/llm/MinimaxText.tsx
+++ b/app/components/base/icons/src/image/llm/MinimaxText.tsx
@@ -2,18 +2,13 @@
 // DON NOT EDIT IT MANUALLY
 
 import * as React from 'react'
-import cn from '@/utils/classnames'
 import s from './MinimaxText.module.css'
+import cn from '@/utils/classnames'
 
-const Icon = (
-  {
-    ref,
-    className,
-    ...restProps
-  }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement> & {
-    ref?: React.RefObject<HTMLSpanElement>;
-  },
-) => <span className={cn(s.wrapper, className)} {...restProps} ref={ref} />
+const Icon = React.forwardRef<HTMLSpanElement, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>((
+  { className, ...restProps },
+  ref,
+) => <span className={cn(s.wrapper, className)} {...restProps} ref={ref} />)
 
 Icon.displayName = 'MinimaxText'
 

--
Gitblit v1.8.0