Created
November 17, 2019 19:17
-
-
Save lrlineroa/ff3bc4b9d4cd6887b4f5609995827845 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { View,Text,Image,StyleSheet } from 'react-native'; | |
import Values from './Values'; | |
class Loader extends Component { | |
state = { } | |
render() { | |
return ( | |
<View style={[{flex:1},Values.styles.centered]}> | |
<Image style={styles.logo} source={require('../assets/images/icon.png')} /> | |
<Text style={[Values.styles.appText,{marginTop:5}]}> | |
{this.props.message} | |
</Text> | |
{/* { | |
global.HermesInternal && | |
<Text> | |
usando hermes | |
</Text> | |
} */} | |
</View> ); | |
} | |
} | |
export default Loader; | |
const styles=StyleSheet.create({ | |
logo: { | |
alignSelf: 'center', | |
height: 124, | |
width: 168, | |
marginTop: 49 | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment