-
Notifications
You must be signed in to change notification settings - Fork 106
Expand file tree
/
Copy pathFillAll.test.js
More file actions
46 lines (34 loc) · 801 Bytes
/
FillAll.test.js
File metadata and controls
46 lines (34 loc) · 801 Bytes
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
import React, { Component } from 'react';
import ReactNative, {
StyleSheet,
Text,
View,
TouchableOpacity,
} from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons'
import colors from '@/runner/colors'
// Filling and Centering
//
// Your goal is to make content dead center, and make background fill everything
// Hint: You have to combine multiple properties
//
const FillAll = (props)=>{
return (
<View style={styles.container}>
<Icon style={{color:'white'}} name='ios-bulb-outline' size={120} />
</View>
)
}
// TODO: Fix the styles here
//
const styles = StyleSheet.create({
container: {
backgroundColor: colors[0],
},
text:{
color: 'white',
textAlign:'center'
}
});
FillAll.displayName = 'FillAll'
export default FillAll