From 5a0715d734adbd3a408c56d215490b7c827c815b Mon Sep 17 00:00:00 2001 From: G Date: Wed, 11 Sep 2024 16:48:21 +0000 Subject: [PATCH] wrapper but with full safe area --- src/components/wrappers/WrapperWithDefaultBeasyBackgroundAndSafeAreaFull.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/components/wrappers/WrapperWithDefaultBeasyBackgroundAndSafeAreaFull.tsx diff --git a/src/components/wrappers/WrapperWithDefaultBeasyBackgroundAndSafeAreaFull.tsx b/src/components/wrappers/WrapperWithDefaultBeasyBackgroundAndSafeAreaFull.tsx new file mode 100644 index 0000000..052d0e2 --- /dev/null +++ b/src/components/wrappers/WrapperWithDefaultBeasyBackgroundAndSafeAreaFull.tsx @@ -0,0 +1,15 @@ +import BeasyDefaultBackground from "@components/backgrounds/BeasyDefaultBackground"; +import type React from "react"; +import { SafeAreaView } from "react-native-safe-area-context"; + +type Props = { children: React.ReactNode }; + +const WrapperWithDefaultBeasyBackgroundAndSafeAreaFull = ({ children }: Props) => { + return ( + + {children} + + ); +}; + +export default WrapperWithDefaultBeasyBackgroundAndSafeAreaFull; -- libgit2 0.27.1