Parcourir la source

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

Malcolm Scruggs il y a 5 ans
Parent
révision
ee3a7c4d34
1 fichiers modifiés avec 0 ajouts et 25 suppressions
  1. 0
    25
      docs/Reference.md

+ 0
- 25
docs/Reference.md Voir le fichier

@@ -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`