Files
AthenaFE/components/auth/AuthHeader.tsx
T
2025-11-02 10:08:56 +01:00

28 lines
639 B
TypeScript

import { View, Text, Image } from "react-native";
interface AuthHeaderProps {
title?: string;
}
export const AuthHeader = ({ title = "Project Athena" }: AuthHeaderProps) => {
return (
<View style={{ alignItems: "center", marginBottom: 36 }}>
<Image
source={require("../../assets/images/logo_no_background.png")}
style={{ width: 80, height: 80, marginBottom: 16 }}
resizeMode="contain"
/>
<Text
style={{
fontSize: 28,
fontWeight: "bold",
color: "white",
marginBottom: 4,
}}
>
{title}
</Text>
</View>
);
};