-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyled.js
More file actions
66 lines (60 loc) · 1.25 KB
/
Copy pathstyled.js
File metadata and controls
66 lines (60 loc) · 1.25 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
import styled from 'styled-components/native'
export const Container = styled.KeyboardAvoidingView`
flex:1
`
export const Header = styled.SafeAreaView`
height:150px
background-color:#3574CB
justify-content:center
`
export const HeaderTitle = styled.Text`
color:#FFF
font-size:27px
margin-left:20px
`
export const Menu = styled.View`
background-color:#3574CB
flex-direction:row
padding-left:20px
margin-bottom:20px
`
export const MenuItem = styled.TouchableHighlight`
padding:20px
border-bottom-width:5px
border-bottom-color:${props=>props.active?'#fff':'#3574cb'}
`
export const MenuItemText = styled.Text`
color:#FFF
font-size:16px
`
export const Input = styled.TextInput`
margin:10px 20px
border-bottom-width:2px
border-bottom-color:#ccc
height:50px
font-size:16px
color:#333
`
export const ActionButton = styled.TouchableHighlight`
background-color:#3574CB
justify-content:center
align-items:center
height:50px
border-radius:5px
margin:20px
box-shadow:0px 2px 2px #999
`
export const ActionButtonText = styled.Text`
color:#fff
font-size:18px
`
export const LoadingArea = styled.View`
position:absolute
left:0
top:0
right:0
bottom:0
background-color:rgba(0,0,0,0.5)
justify-content:center
align-items:center
`