Pārlūkot izejas kodu

fix(types): Add missing applicationNameForUserAgent type in WebViewSharedProps (#1542)

Caleb Clarke 4 gadus atpakaļ
vecāks
revīzija
91295e5258
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

@@ -973,4 +973,9 @@ export interface WebViewSharedProps extends ViewProps {
973 973
    * Should caching be enabled. Default is true.
974 974
    */
975 975
   cacheEnabled?: boolean;
976
+
977
+  /**
978
+   * Append to the existing user-agent. Overridden if `userAgent` is set.
979
+   */
980
+  applicationNameForUserAgent?: string;
976 981
 }