Commit 761ab6be by G

basic user profile screen

parent 94689408
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 (
<BackgroundWithBeasyIconAndWhiteContentArea>
<>
<Box px={"m"} mt={"m"}>
<Text>Email :: {userInformations?.email}</Text>
<Text>Firstname :: {userInformations?.firstName}</Text>
<Text>LastNAme :: {userInformations?.lastName}</Text>
<Text>Username :: {userInformations?.username}</Text>
<Text>MarchandId :: {userInformations?.marchand.marchand_id}</Text>
</Box>
</>
</BackgroundWithBeasyIconAndWhiteContentArea>
);
};
export default UserProfileScreen;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment