From a3a0a015bed2ee74c1b7001300cb71e8ce0c2155 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Fri, 21 Jul 2023 20:19:16 +0300 Subject: [PATCH] Create background image component --- src/components/BackgroundImage/BackgroundImage.jsx | 9 +++++++++ src/components/BackgroundImage/index.jsx | 1 + 2 files changed, 10 insertions(+) create mode 100644 src/components/BackgroundImage/BackgroundImage.jsx create mode 100644 src/components/BackgroundImage/index.jsx diff --git a/src/components/BackgroundImage/BackgroundImage.jsx b/src/components/BackgroundImage/BackgroundImage.jsx new file mode 100644 index 00000000..c5ef51b3 --- /dev/null +++ b/src/components/BackgroundImage/BackgroundImage.jsx @@ -0,0 +1,9 @@ +import { styled } from "tamagui"; + +const BackgroundImage = styled("div", { + boxShadow: "inset 100px 0px 100px white", + width: "650px", + height: "100vh", +}); + +export { BackgroundImage }; diff --git a/src/components/BackgroundImage/index.jsx b/src/components/BackgroundImage/index.jsx new file mode 100644 index 00000000..be486b4d --- /dev/null +++ b/src/components/BackgroundImage/index.jsx @@ -0,0 +1 @@ +export { BackgroundImage } from "./BackgroundImage";