DepositView.js 582 Bytes
Newer Older
Giang Tran committed
1
import React, {useState} from 'react';
Giang Tran committed
2 3
import {View, Text, StyleSheet} from 'react-native';
import HeaderBack from '../../../components/Header/HeaderBack';
Giang Tran committed
4

Giang Tran committed
5
import {WebView} from 'react-native-webview';
Giang Tran committed
6 7 8

const DepositView = (props) => {
  return (
Giang Tran committed
9
    <View style={{flex: 1}}>
Giang Tran committed
10
      <HeaderBack isWhite={true} title={'Deposit'} />
Giang Tran committed
11 12 13 14
      <WebView
        androidHardwareAccelerationDisabled={true}
        source={{uri: props.urlCheckout}}
      />
Giang Tran committed
15 16 17 18
    </View>
  );
};

Giang Tran committed
19 20 21 22 23 24
const styles = StyleSheet.create({
  containerBtn: {
    marginBottom: 15,
  },
});

Giang Tran committed
25
export default DepositView;