From e66a1f7fcbc0c1c2476181391fcd32012d2e2665 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Wed, 30 Aug 2023 10:34:31 +0300 Subject: [PATCH] feat: add custom style when use border box --- src/components/General/BorderBox.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/General/BorderBox.tsx b/src/components/General/BorderBox.tsx index 0a1835b5..da78a519 100644 --- a/src/components/General/BorderBox.tsx +++ b/src/components/General/BorderBox.tsx @@ -2,11 +2,14 @@ import { Stack } from 'tamagui' type BorderBoxProps = { children: React.ReactNode + style?: React.CSSProperties } -const BorderBox = ({ children }: BorderBoxProps) => { +const BorderBox = ({ children, style }: BorderBoxProps) => { return ( - + {children} )