7laria 4 年之前
父節點
當前提交
dc3e2bfaf0
No account linked to committer's email address
共有 2 個檔案被更改,包括 3 行新增3 行删除
  1. 2
    2
      index.d.ts
  2. 1
    1
      index.js

+ 2
- 2
index.d.ts 查看文件

1
 import { Component } from 'react';
1
 import { Component } from 'react';
2
 // eslint-disable-next-line
2
 // eslint-disable-next-line
3
-import { IOSWebViewProps, AndroidWebViewProps } from './lib/WebViewTypes';
3
+import { IOSWebViewProps, AndroidWebViewProps } from './src/WebViewTypes';
4
 
4
 
5
-export { FileDownload, WebViewMessageEvent, WebViewNavigation } from "./lib/WebViewTypes";
5
+export { FileDownload, WebViewMessageEvent, WebViewNavigation } from "./src/WebViewTypes";
6
 
6
 
7
 export type WebViewProps = IOSWebViewProps & AndroidWebViewProps;
7
 export type WebViewProps = IOSWebViewProps & AndroidWebViewProps;
8
 
8
 

+ 1
- 1
index.js 查看文件

1
-import WebView from './lib/WebView';
1
+import WebView from './src/WebView';
2
 
2
 
3
 export { WebView };
3
 export { WebView };
4
 export default WebView;
4
 export default WebView;