Browse Source

fix(types): android/allowsFullscreenVideo (#590)

Fix missing `allowsFullscreenVideo` prop after https://github.com/react-native-community/react-native-webview/pull/325 got merged.
Dariusz Niemczyk 5 years ago
parent
commit
f8a560ba51
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      src/WebViewTypes.ts

+ 5
- 0
src/WebViewTypes.ts View File

529
    * @platform android
529
    * @platform android
530
    */
530
    */
531
   mixedContentMode?: 'never' | 'always' | 'compatibility';
531
   mixedContentMode?: 'never' | 'always' | 'compatibility';
532
+  
533
+  /**
534
+   * Sets ability to open fullscreen videos on Android devices.
535
+  */
536
+  allowsFullscreenVideo?: boolean;
532
 }
537
 }
533
 
538
 
534
 export interface WebViewSharedProps extends ViewProps {
539
 export interface WebViewSharedProps extends ViewProps {