Browse Source

Update top-level-api.md (#6056)

Show transparent overlay option in docs
Harvey Connor 4 years ago
parent
commit
d2f7f6dc5d
No account linked to committer's email address
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      docs/docs/top-level-api.md

+ 4
- 1
docs/docs/top-level-api.md View File

@@ -61,7 +61,10 @@ Navigation.showOverlay({
61 61
     options: {
62 62
       overlay: {
63 63
         interceptTouchOutside: true
64
-      }
64
+      },
65
+      layout: {
66
+        componentBackgroundColor: 'transparent', // Use this if you want your background to be transparent.
67
+      },
65 68
     }
66 69
   }
67 70
 });