react-native-side-menu
Version:
Simple customizable component to create side menu
34 lines (30 loc) • 528 B
JavaScript
// @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,
},
frontView: {
flex: 1,
position: 'absolute',
left: 0,
top: 0,
backgroundColor: 'transparent',
overflow: 'hidden',
},
overlay: {
...absoluteStretch,
backgroundColor: 'transparent',
},
});