From f122310c37d2075629c9c916ffb86f2b32414fa0 Mon Sep 17 00:00:00 2001
From: Shinwoo PARK <shinwoo.park@psw.kr>
Date: Wed, 12 Mar 2025 13:27:23 +0900
Subject: [PATCH] fix: fix slot type error

---
 packages/react/lib/Slot.tsx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/packages/react/lib/Slot.tsx b/packages/react/lib/Slot.tsx
index d97c545..6d118b3 100644
--- a/packages/react/lib/Slot.tsx
+++ b/packages/react/lib/Slot.tsx
@@ -85,7 +85,10 @@ export const Slot = React.forwardRef<
     return null;
   }
   return React.cloneElement(children, {
-    ...mergeReactProps(safeSlotProps, children.props),
+    ...mergeReactProps(
+      safeSlotProps,
+      children.props as Record<string, unknown>,
+    ),
     ref: combinedRef([
       ref,
       (children as unknown as { ref: React.Ref<HTMLElement> }).ref,