Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

bottom shadow in react native

const styles = StyleSheet.create({
  container: {
    ...Platform.select({
      ios: {
        shadowColor: '#000',
        shadowOffset: {width: 1, height: 3},
        shadowOpacity: 0.2,
      },
      android: {
        elevation: 4,
      },
    }),
  },
});
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #bottom #shadow #react #native
ADD COMMENT
Topic
Name
9+2 =