forked from Kureev/react-native-navbar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.js
54 lines (53 loc) · 1.03 KB
/
styles.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
const NAV_BAR_HEIGHT = 44;
const STATUS_BAR_HEIGHT = 20;
const NAV_HEIGHT = NAV_BAR_HEIGHT + STATUS_BAR_HEIGHT;
module.exports = {
navBarContainer: {
backgroundColor: 'white',
},
statusBar: {
height: STATUS_BAR_HEIGHT,
},
navBar: {
height: NAV_BAR_HEIGHT,
flexDirection: 'row',
justifyContent: 'space-between',
alignItems: 'stretch',
},
customTitle: {
position: 'absolute',
left: 0,
right: 0,
bottom: 7,
alignItems: 'center',
},
navBarButtonContainer: {
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'stretch',
},
navBarButton: {
flexDirection: 'row',
justifyContent: 'center',
alignItems: 'center',
},
navBarButtonText: {
fontSize: 17,
letterSpacing: 0.5,
},
navBarTitleContainer: {
position: 'absolute',
left: 0,
right: 0,
top: 0,
bottom: 0,
justifyContent: 'center',
alignItems: 'center',
},
navBarTitleText: {
fontSize: 17,
letterSpacing: 0.5,
color: '#333',
fontWeight: '500',
},
};