-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrules.js
41 lines (33 loc) · 1.12 KB
/
rules.js
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
import React, { Component } from 'react'
import {
StyleSheet,
TouchableOpacity,
Text,
View,
TextInput, Button,
Alert, FlatList, Image
} from 'react-native'
import Icon from 'react-native-vector-icons/Entypo';
export default PrizeList = () => {
return (
<View style={style.outer}>
<View style={{flex:0.1}}>
<Icon name="check" size={20} color='green'/>
</View>
<View style={{flex:1,justifyContent:'center',alignItems:'center'}}>
<Text>It is a long established fact that a reader will be distracted
by the reed to using 'Content here, content here',</Text>
</View>
</View>
);
}
const style=StyleSheet.create(
{
outer: {
width:'100%',backgroundColor:'white',margin:5,flexDirection:'row'
},layout: {
borderWidth:2,borderColor:'#ddd',elevation:20,shadowColor:'#ddd',shadowOpacity:10,shadowOffset:{height:5,width:0},
width:'30%',height:"70%",justifyContent:'center',alignItems:'center',backgroundColor:'white',borderRadius:5
}
}
)