Files
2025-11-05 20:11:34 +01:00

28 lines
638 B
TypeScript

import { View, Text, Image } from "react-native";
interface AuthHeaderProps {
title?: string;
}
export const AuthHeader = ({ title = "Bird Eye View" }: 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>
);
};