Przeglądaj źródła

Add the changes from https://github.com/iou90/react-native-autoheight-webview/pull/59 in order to be able to use the component in a Typescript file

Jørgen Orehøj Erichsen 6 lat temu
rodzic
commit
f1df51f0a4
2 zmienionych plików z 4 dodań i 0 usunięć
  1. 3
    0
      index.js
  2. 1
    0
      package.json

+ 3
- 0
index.js Wyświetl plik

1
+var ReactNative = require('react-native')
2
+module.exports = ReactNative.NativeModules.AutoHeightWebView
3
+

+ 1
- 0
package.json Wyświetl plik

4
   "description": "An auto height webview for React Native",
4
   "description": "An auto height webview for React Native",
5
   "main": "autoHeightWebView",
5
   "main": "autoHeightWebView",
6
   "files": [
6
   "files": [
7
+    "index.js",
7
     "android",
8
     "android",
8
     "autoHeightWebView"
9
     "autoHeightWebView"
9
   ],
10
   ],