瀏覽代碼

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 年之前
父節點
當前提交
f1df51f0a4
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 3
    0
      index.js
  2. 1
    0
      package.json

+ 3
- 0
index.js 查看文件

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

+ 1
- 0
package.json 查看文件

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