Browse Source

fix path for iOS

7laria 4 years ago
parent
commit
a2b43eacaf
2 changed files with 3 additions and 3 deletions
  1. 2
    2
      index.d.ts
  2. 1
    1
      index.js

+ 2
- 2
index.d.ts View File

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 View File

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;