forked from xgfe/react-native-datepicker
-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.js
76 lines (74 loc) · 1.24 KB
/
style.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
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
67
68
69
70
71
72
73
74
75
76
import {StyleSheet} from 'react-native';
let style = StyleSheet.create({
dateTouch: {
width: 142
},
dateTouchBody: {
flexDirection: 'row',
height: 40,
alignItems: 'center',
justifyContent: 'center'
},
dateIcon: {
width: 32,
height: 32,
marginLeft: 5,
marginRight: 5
},
dateInput: {
flex: 1,
height: 40,
borderWidth: 1,
borderColor: '#aaa',
alignItems: 'center',
justifyContent: 'center'
},
dateText: {
color: '#333'
},
placeholderText: {
color: '#c9c9c9'
},
datePickerMask: {
flex: 1,
alignItems: 'flex-end',
flexDirection: 'row',
backgroundColor: '#00000077'
},
datePickerCon: {
backgroundColor: '#fff',
height: 0,
overflow: 'hidden'
},
btnText: {
position: 'absolute',
top: 0,
height: 42,
padding: 20,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center'
},
btnTextText: {
fontSize: 16,
color: '#46cf98'
},
btnTextCancel: {
color: '#666'
},
btnCancel: {
left: 0
},
btnConfirm: {
right: 0
},
datePicker: {
marginTop: 42,
borderTopColor: '#ccc',
borderTopWidth: 1
},
disabled: {
backgroundColor: '#eee'
}
});
export default style;