Add Logo to Title

This commit is contained in:
Samuel Oberhofer
2022-12-10 12:33:49 +01:00
parent 9165c52a5b
commit 07a70e277e
3 changed files with 27 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { StyleSheet, Image, View } from "react-native";
const LogoTitle = (props) => {
return (
<View style={styles.screen}>
<Image style={styles.image} source={require("../assets/present.png")} />
</View>
);
};
const styles = StyleSheet.create({
srceen: {
flex: 1,
alignItem: "center",
justifyContent: "center",
},
image: {
marginBottom: 12,
width: 50,
height: 50,
},
});
export default LogoTitle;