import React, { useContext } from 'react'; import Handoff from 'react-native-handoff'; import { BlueStorageContext } from '../blue_modules/storage-context'; import PropTypes from 'prop-types'; const HandoffComponent = props => { const { isHandOffUseEnabled } = useContext(BlueStorageContext); return isHandOffUseEnabled ? : null; }; export default HandoffComponent; HandoffComponent.propTypes = { url: PropTypes.string, }; HandoffComponent.activityTypes = { ReceiveOnchain: 'io.bluewallet.bluewallet.receiveonchain', Xpub: 'io.bluewallet.bluewallet.xpub', ViewInBlockExplorer: 'io.bluewallet.bluewallet.blockexplorer', };