From 466ef6e2037321d5361bed841052f40cad349d98 Mon Sep 17 00:00:00 2001 From: Robb Niznik Date: Mon, 7 Oct 2024 11:28:56 -0400 Subject: [PATCH] fix: rename --- packages/box/src/Box.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/box/src/Box.tsx b/packages/box/src/Box.tsx index e3b80d1a7..9d4292ea1 100644 --- a/packages/box/src/Box.tsx +++ b/packages/box/src/Box.tsx @@ -10,12 +10,12 @@ interface BoxProps extends Sprinkles, Omit, 'colo asChild?: boolean; } -const Box = ({ asChild, children, className: classes, ...props }: BoxProps) => { +const Box = ({ asChild, children, className, ...props }: BoxProps) => { const Component = asChild ? Slot : 'div'; - const { className, style, otherProps } = rainbowSprinkles(props); + const { className: classes, style, otherProps } = rainbowSprinkles(props); return ( - + {children} );