verdnatura-chat/app/views/AuthLoadingView.js

21 lines
464 B
JavaScript
Raw Normal View History

2019-03-12 16:23:06 +00:00
import React from 'react';
import { StyleSheet, Image } from 'react-native';
import StatusBar from '../containers/StatusBar';
import { isAndroid } from '../utils/deviceInfo';
const styles = StyleSheet.create({
image: {
width: '100%',
2019-11-25 20:01:17 +00:00
height: '100%',
backgroundColor: 'white'
2019-03-12 16:23:06 +00:00
}
});
export default React.memo(() => (
<>
<StatusBar />
2019-11-25 20:01:17 +00:00
{isAndroid ? <Image source={{ uri: 'launch_screen' }} style={styles.image} resizeMode='contain' /> : null}
</>
));