From 761ab6be0297fb2be37bf1c96292a9f52b16d56e Mon Sep 17 00:00:00 2001 From: G Date: Mon, 1 Jul 2024 10:27:41 +0000 Subject: [PATCH] basic user profile screen --- src/screens/UserProfileScreen.tsx | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/screens/UserProfileScreen.tsx diff --git a/src/screens/UserProfileScreen.tsx b/src/screens/UserProfileScreen.tsx new file mode 100644 index 0000000..d894f95 --- /dev/null +++ b/src/screens/UserProfileScreen.tsx @@ -0,0 +1,31 @@ +import Box from "@components/bases/Box"; +import {} from "react"; +import {} from "react-native"; + +import { useUserAuthenticationContext } from "@/contexts/UserAuthenticationContext"; +import BackgroundWithBeasyIconAndWhiteContentArea from "@components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea"; +import Text from "@components/bases/Text"; +import { LOG } from "@logger"; + +const log = LOG.extend("UserProfileScreen"); +const UserProfileScreen = () => { + log.verbose("UserProfileScreen"); + + const { userInformations } = useUserAuthenticationContext(); + + return ( + + <> + + Email :: {userInformations?.email} + Firstname :: {userInformations?.firstName} + LastNAme :: {userInformations?.lastName} + Username :: {userInformations?.username} + MarchandId :: {userInformations?.marchand.marchand_id} + + + + ); +}; + +export default UserProfileScreen; -- libgit2 0.27.1