From c668f2540ea5cc5eee0b0e6c1a2fd2f268998fa0 Mon Sep 17 00:00:00 2001 From: Yossi Saadi Date: Wed, 29 May 2024 12:01:22 +0300 Subject: [PATCH] feat(Box): add style prop --- packages/core/src/components/Box/Box.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/core/src/components/Box/Box.tsx b/packages/core/src/components/Box/Box.tsx index a8061d6b25..c897659236 100644 --- a/packages/core/src/components/Box/Box.tsx +++ b/packages/core/src/components/Box/Box.tsx @@ -75,6 +75,7 @@ export interface BoxProps extends VibeComponentProps { * TODO: make default in next major version */ scrollable?: boolean; + style?: React.CSSProperties; } const Box: VibeComponent & { @@ -126,7 +127,8 @@ const Box: VibeComponent & { paddingStart, textColor, backgroundColor, - scrollable + scrollable, + style }, ref ) => { @@ -161,7 +163,8 @@ const Box: VibeComponent & { textColor, backgroundColor ), - id: id + id: id, + style }, children );