-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.android.js
More file actions
51 lines (47 loc) · 1.06 KB
/
Copy pathindex.android.js
File metadata and controls
51 lines (47 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
import Icon from 'react-native-vector-icons/EvilIcons';
import * as globalStyles from './style.global'
export default class UsingNativeModules extends Component {
render() {
return (
<View style={[globalStyles.COMMON_STYLES.pageContainer, styles.container]}>
<Icon
name="user"
style={styles.avatarIcon}
/>
<Text style={styles.text}>baluragla</Text>
<Text style={styles.text}>BalaKrishna Ragala</Text>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
justifyContent: 'center',
alignItems: 'center'
},
avatarIcon: {
color: globalStyles.HEADER_TEXT_COLOR,
fontSize: 200
},
profileImage: {
width: 150,
height: 150,
borderRadius: 75
},
text:{
color:'white'
}
});
AppRegistry.registerComponent('UsingNativeModules', () => UsingNativeModules);