import React, {useEffect} from 'react';
import {Alert, NativeEventEmitter} from 'react-native';

import DepositView from './DepositView';

const Deposit = (props) => {
  const {method} = props.route.params;

  return <DepositView urlCheckout={method.checkout_url} />;
};

export default Deposit;
