From e0a75a6d253391fe6087e46475900a55322f5e91 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Tue, 8 Aug 2023 10:10:52 +0300 Subject: [PATCH] refactor: ShadowBox tsx and replace div --- src/components/{ShadowBox.jsx => ShadowBox.tsx} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/components/{ShadowBox.jsx => ShadowBox.tsx} (67%) diff --git a/src/components/ShadowBox.jsx b/src/components/ShadowBox.tsx similarity index 67% rename from src/components/ShadowBox.jsx rename to src/components/ShadowBox.tsx index f6958fc8..790dd226 100644 --- a/src/components/ShadowBox.jsx +++ b/src/components/ShadowBox.tsx @@ -1,6 +1,6 @@ -import { styled } from 'tamagui' +import { Stack, styled } from 'tamagui' -const ShadowBox = styled('div', { +const ShadowBox = styled(Stack, { boxSizing: 'border-box', borderRadius: '16px', boxShadow: '0px 4px 20px 0px rgba(9, 16, 28, 0.08)',