Ver Fonte

Added Box Shadow to Home Header

Savio Fernando há 1 ano atrás
pai
commit
66a29a8948
1 ficheiros alterados com 7 adições e 1 exclusões
  1. 7 1
      src/components/molecules/Header/NewscoutHomeHeader.js

+ 7 - 1
src/components/molecules/Header/NewscoutHomeHeader.js

@@ -16,7 +16,13 @@ const NewscoutHomeHeader = ({ children, headerStyle}) => {
       width: moderateScale(64)
     },
     header:{
-      backgroundColor: colors().dominant
+      backgroundColor: colors().dominant,
+      elevation: 4,
+      shadowColor: colors().black,
+      shadowOffset: {width: -2, height: 4},
+      shadowOpacity: 0.2,
+      shadowRadius: 3,
+      
     }
   })