From f31c6468fdfc2ce154d010373b53883b9d3fd6a6 Mon Sep 17 00:00:00 2001 From: "Y." Date: Tue, 23 Jul 2024 20:11:53 +0800 Subject: [PATCH] fix(Fab): fix type warning for icon attr (#1509) --- src/fab/fab.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fab/fab.tsx b/src/fab/fab.tsx index c79adc134..cee02acc3 100644 --- a/src/fab/fab.tsx +++ b/src/fab/fab.tsx @@ -21,7 +21,7 @@ export default defineComponent({ }; return () => { - const icon = renderTNodeJSX('icon'); + const icon = () => renderTNodeJSX('icon'); return (