Przeglądaj źródła

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

Malcolm Scruggs 5 lat temu
rodzic
commit
ee3a7c4d34
1 zmienionych plików z 0 dodań i 25 usunięć
  1. 0
    25
      docs/Reference.md

+ 0
- 25
docs/Reference.md Wyświetl plik

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