import React from 'react';
import {View, Text} from 'react-native';
import {getFontXD} from '../../../Config/Functions';
import HeaderBack from '../../../components/Header/HeaderBack';
import {WebView} from 'react-native-webview';
import {connect} from 'react-redux';
const MyGroup = (props) => {
  return (
    <View style={{flex: 1}}>
      <HeaderBack isWhite={true} title={'MyPartner'} />
      <WebView
        androidHardwareAccelerationDisabled={true}
        source={{
          uri:
            'http://api.dcvinvest.com/webview/partners/show/' + props.user.uid,
        }}
      />
    </View>
  );
};

const mapStateToProps = (state) => {
  return {
    user: state.userReducer,
  };
};
export default connect(mapStateToProps, {})(MyGroup);