forked from Kureev/react-native-side-menu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.js
40 lines (38 loc) · 751 Bytes
/
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
var React = require('react-native');
var deviceScreen = require('Dimensions').get('window');
var {
StyleSheet,
} = React;
module.exports = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
},
menu: {
flex: 1,
backgroundColor: 'transparent',
position: 'absolute',
top: 0,
left: 0,
width: deviceScreen.width,
height: deviceScreen.height,
},
frontView: {
flex: 1,
position: 'absolute',
left: 0,
top: 0,
backgroundColor: 'transparent',
width: deviceScreen.width,
height: deviceScreen.height,
},
overlay: {
position: 'absolute',
top: 0,
left: 0,
bottom: 0,
right: 0,
backgroundColor: 'transparent'
}
});