forked from Kureev/react-native-side-menu
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyles.js
More file actions
36 lines (33 loc) · 639 Bytes
/
Copy pathstyles.js
File metadata and controls
36 lines (33 loc) · 639 Bytes
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
// @flow
import { StyleSheet } from 'react-native';
const absoluteStretch = {
position: 'absolute',
top: 0,
left: 0,
bottom: 0,
right: 0,
};
export default StyleSheet.create({
container: {
...absoluteStretch,
justifyContent: 'center',
},
menu: {
...absoluteStretch,
backgroundColor: 'white',
borderBottomLeftRadius: '5px',
borderTopLeftRadius: '5px',
boxShadow: 'rgba(0, 0, 0, 0.5) 0px 0px 30px',
},
frontView: {
flex: 1,
position: 'absolute',
left: 0,
top: 0,
backgroundColor: 'transparent',
overflow: 'hidden',
},
overlay: {
...absoluteStretch,
},
});