DetailHistory.js 709 Bytes
Newer Older
Giang Tran committed
1 2 3 4 5 6 7 8 9
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 DetailHistory = (props) => {
  return (
    <View style={{flex: 1}}>
Giang Tran committed
10
      <HeaderBack isWhite={true} title={'Detail'} />
Giang Tran committed
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
      <WebView
        androidHardwareAccelerationDisabled={true}
        source={{
          uri:
            'http://api.dcvinvest.com/webview/customers/detail-transaction-history/' +
            props.route.params.id,
        }}
      />
    </View>
  );
};

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

export default DetailHistory;