last fixes

This commit is contained in:
Thibault Malbranche 2019-03-20 11:36:58 +00:00
parent e4360cf298
commit bee15de552
5 changed files with 7 additions and 25 deletions

View File

@ -62,6 +62,7 @@
"ios", "ios",
"lib", "lib",
"index.js", "index.js",
"index.d.ts" "index.d.ts",
"react-native-webview.podspec"
] ]
} }

View File

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

5
src/WebView.tsx Normal file
View File

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

View File

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

View File

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