From 49cec7ad44f16bf19ecdeace7734897358aebcfc Mon Sep 17 00:00:00 2001 From: storywithoutend Date: Thu, 21 Nov 2024 09:59:53 +0800 Subject: [PATCH] Update Box.tsx --- components/src/components/atoms/Box/Box.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/src/components/atoms/Box/Box.tsx b/components/src/components/atoms/Box/Box.tsx index 413f3bce..8cc2fba2 100644 --- a/components/src/components/atoms/Box/Box.tsx +++ b/components/src/components/atoms/Box/Box.tsx @@ -41,6 +41,8 @@ export const Box = forwardRef( className: clsx(atomicCss, className), ...nativeProps, ref, - }, children) + } as React.RefAttributes, + children, + ) }, )