Browse Source

Fix overlay images in docs

Guy Carmeli 4 years ago
parent
commit
25d098adcf
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      website/docs/docs-overlay.mdx

+ 2
- 2
website/docs/docs-overlay.mdx View File

@@ -26,7 +26,7 @@ When showing views like Alert or Toast in an Overlay, you would want to configur
26 26
 
27 27
 The example below demonstrates how to create a simple alert dialog using an Overlay. Touch events outside the alert will be blocked and won't pass through to the content behind the alert since we're specifying `interceptTouchOutside: true` in the static options of the Alert.
28 28
 
29
-[screenshot](/img/alert_android.png)
29
+<img width="30%" src={useBaseUrl('/img/alert_android.png')} />
30 30
 
31 31
 ```jsx
32 32
 const React = require('react');
@@ -86,7 +86,7 @@ module.exports = Alert;
86 86
 
87 87
 The example below demonstrates how to show a Toast using an Overlay. A user can interact with the content behind the toast since we've declared `interceptTouchOutside: false` in the static options of the Alert.
88 88
 
89
-[screenshot](/img/toast_android.png)
89
+<img width="30%" src={useBaseUrl('/img/toast_android.png')} />
90 90
 
91 91
 ```jsx
92 92
 const React = require('react');