瀏覽代碼

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 年之前
父節點
當前提交
9d5f07aa6b
共有 1 個檔案被更改,包括 5 行新增0 行删除
  1. 5
    0
      src/WebViewTypes.ts

+ 5
- 0
src/WebViewTypes.ts 查看文件

@@ -529,6 +529,11 @@ export interface AndroidWebViewProps extends WebViewSharedProps {
529 529
    * @platform android
530 530
    */
531 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 539
 export interface WebViewSharedProps extends ViewProps {