Browse Source

Added Box Shadow to Home Header

Savio Fernando 1 year ago
parent
commit
66a29a8948
1 changed files with 7 additions and 1 deletions
  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,
+      
     }
   })