Thibault Malbranche 5 anos atrás
pai
commit
bee15de552
5 arquivos alterados com 7 adições e 25 exclusões
  1. 2
    1
      package.json
  2. 0
    8
      src/WebView.ios.tsx
  3. 5
    0
      src/WebView.tsx
  4. 0
    8
      src/WebViewShared.ts
  5. 0
    8
      src/WebViewTypes.ts

+ 2
- 1
package.json Ver arquivo

@@ -62,6 +62,7 @@
62 62
     "ios",
63 63
     "lib",
64 64
     "index.js",
65
-    "index.d.ts"
65
+    "index.d.ts",
66
+    "react-native-webview.podspec"
66 67
   ]
67 68
 }

+ 0
- 8
src/WebView.ios.tsx Ver arquivo

@@ -1,11 +1,3 @@
1
-/**
2
- * Copyright (c) 2015-present, Facebook, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
-
9 1
 import React from 'react';
10 2
 import {
11 3
   ActivityIndicator,

+ 5
- 0
src/WebView.tsx Ver arquivo

@@ -0,0 +1,5 @@
1
+// This files provides compatibility with out out tree platform.
2
+import { WebView } from 'react-native';
3
+
4
+export { WebView };
5
+export default WebView;

+ 0
- 8
src/WebViewShared.ts Ver arquivo

@@ -1,11 +1,3 @@
1
-/**
2
- * Copyright (c) 2015-present, Facebook, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
-
9 1
 import escapeStringRegexp from 'escape-string-regexp';
10 2
 import { Linking, UIManager as NotTypedUIManager } from 'react-native';
11 3
 import {

+ 0
- 8
src/WebViewTypes.ts Ver arquivo

@@ -1,11 +1,3 @@
1
-/**
2
- * Copyright (c) 2015-present, Facebook, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- */
8
-
9 1
 /* eslint-disable react/no-multi-comp */
10 2
 
11 3
 import { ReactElement, Component } from 'react';