Pārlūkot izejas kodu

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

William Chong 4 gadus atpakaļ
vecāks
revīzija
38d1dbcaff
No account linked to committer's email address
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5
    0
      src/WebViewTypes.ts

+ 5
- 0
src/WebViewTypes.ts Parādīt failu

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