Skip to content

Instantly share code, notes, and snippets.

@lrlineroa
Created November 17, 2019 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lrlineroa/ff3bc4b9d4cd6887b4f5609995827845 to your computer and use it in GitHub Desktop.
Save lrlineroa/ff3bc4b9d4cd6887b4f5609995827845 to your computer and use it in GitHub Desktop.
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