25 lines
482 B
TypeScript
25 lines
482 B
TypeScript
/**
|
|
* Sample React Native App
|
|
* https://github.com/facebook/react-native
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
import React from 'react';
|
|
import { WebView } from 'react-native-webview';
|
|
|
|
function App(): React.JSX.Element {
|
|
return (
|
|
<>
|
|
<WebView
|
|
source={{ uri: 'https://www.perfectdraft.com.br/' }}
|
|
style={{ marginTop: 0 }}
|
|
// clean localstorage
|
|
injectedJavaScript="(function(){window.localStorage.clear();})()"
|
|
/>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default App;
|