You can go to react-native-webview repo and see some more functions for this.
For simple i am writing down it here.
<WebView
{...restProps}
source={{uri}}
onLoadStart={()=>setloading(true)}
onLoadEnd={()=>setloading(false)}
onLoad={()=>setloading(false)}
style={{ flex: 1 }}
injectedJavaScript={INJECTEDJAVASCRIPT}
scrollEnabled
setSupportMultipleWindows={false} //This will solve your problem
useWebView2={true}//Function that is invoked when the `WebView` should open a new window.
javaScriptCanOpenWindowsAutomatically={true}//A Boolean value indicating whether JavaScript can open windows without user interaction.
You can check more about it from repo.
https://github.com/react-native-webview/react-native-webview/blob/master/src/WebViewTypes.ts#L793