Quellcode durchsuchen

chore(docs): Remove duplicate example of onShouldStartLoadWithRequest (#479)

Malcolm Scruggs vor 5 Jahren
Ursprung
Commit
ee3a7c4d34
1 geänderte Dateien mit 0 neuen und 25 gelöschten Zeilen
  1. 0
    25
      docs/Reference.md

+ 0
- 25
docs/Reference.md Datei anzeigen

@@ -477,31 +477,6 @@ lockIdentifier
477 477
 navigationType
478 478
 ```
479 479
 
480
-Example:
481
-
482
-```jsx
483
-<WebView
484
-  source={{ uri: 'https://facebook.github.io/react-native' }}
485
-  onShouldStartLoadWithRequest={request => {
486
-    // Only allow navigating within this website
487
-    return request.url.startsWith('https://facebook.github.io/react-native');
488
-  }}
489
-/>
490
-```
491
-
492
-The `request` object includes these properties:
493
-
494
-```
495
-title
496
-url
497
-loading
498
-target
499
-canGoBack
500
-canGoForward
501
-lockIdentifier
502
-navigationType
503
-```
504
-
505 480
 ---
506 481
 
507 482
 ### `startInLoadingState`