mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 02:09:10 +01:00
25 lines
566 B
JavaScript
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;
|