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
 
26
 
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.
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
 ```jsx
31
 ```jsx
32
 const React = require('react');
32
 const React = require('react');
86
 
86
 
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.
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
 ```jsx
91
 ```jsx
92
 const React = require('react');
92
 const React = require('react');