import React, {useState} from 'react';
import {View, Text, StyleSheet} from 'react-native';
import HeaderBack from '../../../components/Header/HeaderBack';

import {WebView} from 'react-native-webview';

const DepositView = (props) => {
  return (
    <View style={{flex: 1}}>
      <HeaderBack isWhite={true} title={'Deposit'} />
      <WebView
        androidHardwareAccelerationDisabled={true}
        source={{uri: props.urlCheckout}}
      />
    </View>
  );
};

const styles = StyleSheet.create({
  containerBtn: {
    marginBottom: 15,
  },
});

export default DepositView;