浏览代码

fix(types): Add missing applicationNameForUserAgent type in non native prop

William Chong 4 年前
父节点
当前提交
38d1dbcaff
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      src/WebViewTypes.ts

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

@@ -736,4 +736,9 @@ export interface WebViewSharedProps extends ViewProps {
736 736
    * Should caching be enabled. Default is true.
737 737
    */
738 738
   cacheEnabled?: boolean;
739
+
740
+  /**
741
+   * Append to the existing user-agent. Overriden if `userAgent` is set.
742
+   */
743
+  applicationNameForUserAgent?: string;
739 744
 }