11.6.9 • Published 3 years ago
clone-webview-package v11.6.9
This is a clone of React Native WebView
clone for education purpose
Don't use this one
To original package https://www.npmjs.com/package/react-native-webview
Usage
Import the WebView
component from clone-react-native-webview
and use it like so:
import React, { Component } from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { WebView } from 'clone-react-native-webview';
// ...
class MyWebComponent extends Component {
render() {
return <WebView source={{ uri: 'https://reactnative.dev/' }} />;
}
}