Closed Alb93 closed 4 years ago
With the overlayStyle prop, you can style the overlay view.
For example, the following way shows how to add a shadow-like overlay:
const styles = StyleSheet.create({ overlayStyle: { backgroundColor: 'black', opacity: 0.7 } });
...
<SideMenu overlayStyle={styles.overlayStyle} menu={} > ...
With the overlayStyle prop, you can style the overlay view.
For example, the following way shows how to add a shadow-like overlay:
const styles = StyleSheet.create({ overlayStyle: { backgroundColor: 'black', opacity: 0.7 } });
...
<SideMenu overlayStyle={styles.overlayStyle} menu={ } >
...