|
|
@@ -0,0 +1,24 @@
|
|
|
+import React from 'react';
|
|
|
+import { Image, View, StyleProp, ImageStyle, ViewStyle } from 'react-native';
|
|
|
+
|
|
|
+const Logo = () => {
|
|
|
+ const logoSource = require('../../assets/logo.png'); // Ensure the path is correct
|
|
|
+
|
|
|
+ const imageStyle: ImageStyle = {
|
|
|
+ width: '100%',
|
|
|
+ resizeMode: 'contain',
|
|
|
+ };
|
|
|
+
|
|
|
+ const viewStyle: ViewStyle = {
|
|
|
+ maxWidth: '100%',
|
|
|
+ alignItems: 'center',
|
|
|
+ };
|
|
|
+
|
|
|
+ return (
|
|
|
+ <View style={viewStyle}>
|
|
|
+ <Image source={logoSource} style={imageStyle} />
|
|
|
+ </View>
|
|
|
+ );
|
|
|
+};
|
|
|
+
|
|
|
+export default Logo;
|