BlueWallet/screen/wallets/hodlHodlWebview.js
2020-12-25 19:09:53 +03:00

25 lines
566 B
JavaScript

import React from 'react';
import { WebView } from 'react-native-webview';
import { useRoute } from '@react-navigation/native';
import { SafeBlueArea } from '../../BlueComponents';
import navigationStyle from '../../components/navigationStyle';
const HodlHodlWebview = () => {
const { uri } = useRoute().params;
return (
<SafeBlueArea>
<WebView source={{ uri }} incognito />
</SafeBlueArea>
);
};
HodlHodlWebview.navigationOptions = navigationStyle({
closeButton: true,
title: '',
headerLeft: null,
});
export default HodlHodlWebview;