Skip to content

Instantly share code, notes, and snippets.

@trinadhkoya
Created February 19, 2019 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trinadhkoya/20fa9fc43e4a5d5765e42b45bf83e098 to your computer and use it in GitHub Desktop.
Save trinadhkoya/20fa9fc43e4a5d5765e42b45bf83e098 to your computer and use it in GitHub Desktop.
cardViewAndroid: {
elevation: 3,
width: width - 80,
height: width * 0.5,
shadowColor: colors.black,
shadowOpacity: 0.3,
shadowRadius: 3,
shadowColor: 'rgba(0,0,0,0.2)',
shadowOffset: {width: 1, height: 1},
backgroundColor: colors.white,
padding: 5,
margin: 10,
borderRadius: 5,
},
cardViewIos: {
width: width - 80,
height: width * 0.5,
shadowColor: colors.black,
shadowOpacity: 0.7,
shadowRadius: 3,
shadowColor: 'rgba(0,0,0,0.2)',
shadowOffset: {width: 1, height: 2},
backgroundColor: colors.white,
padding: 5,
margin: 10,
borderRadius: 5,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment