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/vender/line/development/PromptEngineering.tsx | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/app/components/base/icons/src/vender/line/development/PromptEngineering.tsx b/app/components/base/icons/src/vender/line/development/PromptEngineering.tsx
index 506e9fe..7faf461 100644
--- a/app/components/base/icons/src/vender/line/development/PromptEngineering.tsx
+++ b/app/components/base/icons/src/vender/line/development/PromptEngineering.tsx
@@ -4,16 +4,12 @@
import * as React from 'react'
import data from './PromptEngineering.json'
import IconBase from '@/app/components/base/icons/IconBase'
-import type { IconData } from '@/app/components/base/icons/IconBase'
+import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase'
-const Icon = (
- {
- ref,
- ...props
- }: React.SVGProps<SVGSVGElement> & {
- ref?: React.RefObject<React.MutableRefObject<HTMLOrSVGElement>>;
- },
-) => <IconBase {...props} ref={ref} data={data as IconData} />
+const Icon = React.forwardRef<React.MutableRefObject<SVGElement>, Omit<IconBaseProps, 'data'>>((
+ props,
+ ref,
+) => <IconBase {...props} ref={ref} data={data as IconData} />)
Icon.displayName = 'PromptEngineering'
--
Gitblit v1.8.0