import React , { createRef } from 'react' ; import makeWebshell from '@formidable-webview/webshell' ; import WebView from 'react-native-webview' ; const Webshell = makeWebshell ( WebView ) ; const webViewRef = createRef < WebView > ( ) ; < Webshell ref = { webViewRef } />;