From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/base/icons/src/image/llm/WxyyText.tsx | 15 +++++----------
1 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/app/components/base/icons/src/image/llm/WxyyText.tsx b/app/components/base/icons/src/image/llm/WxyyText.tsx
index e5dd6e8..fd618e8 100644
--- a/app/components/base/icons/src/image/llm/WxyyText.tsx
+++ b/app/components/base/icons/src/image/llm/WxyyText.tsx
@@ -2,18 +2,13 @@
// DON NOT EDIT IT MANUALLY
import * as React from 'react'
-import cn from '@/utils/classnames'
import s from './WxyyText.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 = 'WxyyText'
--
Gitblit v1.8.0