I just installed react-native-webview in react native . After that I trying to display the website , but its loading .
Here is my code
import React from "react";
import { View ,Text} from 'react-native';
import {WebView} from 'react-native-webview';
const WebViewComponent = () =>{
return <WebView source={{ uri: 'https://reactnative.dev/' }} style={{ flex: 1 }} />;
}
export default WebViewComponent;
I just tried to display the website but its not displaying . Is there any extra dependency required to display the WebView or I just screwed up my code.