Last active
November 3, 2015 03:49
-
-
Save boourns/d4082e841fea540d8348 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
styles = StyleSheet.create({ | |
box: { position: 'absolute', top:0, left: 0, right:0, bottom:0}, | |
shadow: { backgroundColor: 'black', opacity: 0.1 }, | |
transparent: { backgroundColor: 'transparent' } | |
}); | |
<View style={{flex: 1}} > | |
<View style={[styles.box, styles.shadow]} /> | |
<View style={[styles.box, styles.transparent]} > | |
// put buttons here | |
</View> | |
</View> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment