From 3d1cf65a865e3f8c850a16a1549ee55efbf9e4d5 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Mon, 7 Aug 2023 13:32:18 +0300 Subject: [PATCH] Convert BackgroudImage to ts file --- .../{BackgroundImage.jsx => BackgroundImage.tsx} | 4 ++-- src/components/BackgroundImage/{index.jsx => index.tsx} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename src/components/BackgroundImage/{BackgroundImage.jsx => BackgroundImage.tsx} (69%) rename src/components/BackgroundImage/{index.jsx => index.tsx} (100%) diff --git a/src/components/BackgroundImage/BackgroundImage.jsx b/src/components/BackgroundImage/BackgroundImage.tsx similarity index 69% rename from src/components/BackgroundImage/BackgroundImage.jsx rename to src/components/BackgroundImage/BackgroundImage.tsx index cb128012..e00cff2b 100644 --- a/src/components/BackgroundImage/BackgroundImage.jsx +++ b/src/components/BackgroundImage/BackgroundImage.tsx @@ -1,6 +1,6 @@ -import { styled } from "tamagui"; +import { Stack, styled } from "tamagui"; -const BackgroundImage = styled("div", { +const BackgroundImage = styled(Stack, { boxShadow: "inset 100px 0px 100px white", width: "650px", height: "91.9vh", diff --git a/src/components/BackgroundImage/index.jsx b/src/components/BackgroundImage/index.tsx similarity index 100% rename from src/components/BackgroundImage/index.jsx rename to src/components/BackgroundImage/index.tsx