mirror of
https://github.com/urosran/cally.git
synced 2025-07-15 09:45:20 +00:00
add To Dos
This commit is contained in:
18
components/shared/HeaderTemplate.tsx
Normal file
18
components/shared/HeaderTemplate.tsx
Normal file
@ -0,0 +1,18 @@
|
||||
import { View, Text } from "react-native-ui-lib";
|
||||
import React from "react";
|
||||
import { useAuthContext } from "@/contexts/AuthContext";
|
||||
|
||||
const HeaderTemplate = (props: { message: string }) => {
|
||||
const { user, profileData } = useAuthContext();
|
||||
return (
|
||||
<View row centerV padding-25>
|
||||
<View backgroundColor="pink" height={65} width={65} style={{borderRadius: 22}} marginR-20 />
|
||||
<View>
|
||||
<Text text70L>Welcome, {user?.email}!</Text>
|
||||
<Text text70BL>{props.message}</Text>
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
export default HeaderTemplate;
|
Reference in New Issue
Block a user