Browse Source

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

Malcolm Scruggs 5 years ago
parent
commit
ee3a7c4d34
1 changed files with 0 additions and 25 deletions
  1. 0
    25
      docs/Reference.md

+ 0
- 25
docs/Reference.md View File

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