//import React, {Component} from "react"
// import { View, Text, Image, Animated, TouchableOpacity, StyleSheet } from "react-native"
// let route = require('../../../route.json');
// export default class Modal extends Component {
// constructor(props) {
// super(props);
// this.state = {
// }
// }
// render(){
// return(
// <>
//
// Voulez vous utiliser votre carte de rattaché ? ou voulez vous effectuer un retait d'une autre carte?
//
// {
// this.props.navigation.push(route.retraitCarteVersAutreWalletUser);
// } }
// >
// utiliser une Autre carte
//
// {
// this.props.navigation.push(route.envoieWalletToWalletUser);
// } }
// >
// utiliser Ma carte lier
//
//
// >
// )
// }
// }
// const styles = StyleSheet.create({
// container: {
// flex: 1,
// justifyContent: 'center',
// alignItems: 'center',
// },
// text: {
// fontSize: 20,
// margin: 10,
// fontWeight: 'bold'
// },
// buttons: {
// flexDirection: 'row',
// justifyContent: 'space-between',
// width: '90%',
// marginTop: 20,
// },
// buttons1: {
// backgroundColor: 'blue',
// padding: 10,
// borderRadius: 10,
// },
// buttons2: {
// backgroundColor: 'green',
// padding: 10,
// borderRadius: 10,
// },
// })
import React, { Component } from "react";
import { View, Text, TouchableOpacity, StyleSheet } from "react-native";
import { Typography } from "../../../config/typography";
import { Color } from "../../../config/Color";
import route from '../../../route.json';
import I18n from 'react-native-i18n';
class Modal extends Component {
static navigatorStyle = {
navBarBackgroundColor: Color.primaryColor,
statusBarColor: Color.primaryDarkColor,
navBarTextColor: '#FFFFFF',
navBarButtonColor: '#FFFFFF'
};
static navigationOptions = () => {
return {
drawerLabel: () => null,
headerTitle: I18n.t('WITHDRAWAL_CARD_ORDER_WALLET'),
headerTintColor: 'white',
headerStyle: {
backgroundColor: Color.primaryColor,
marginTop: 30,
color: 'white'
},
headerTitleStyle: {
color: "white"
},
title: I18n.t('WITHDRAWAL_CARD_ORDER_WALLET')
}
};
constructor(props) {
super(props);
this.state = {
with_linked_card: true
};
}
handleCarteVersAutreWallet = () => {
this.props.navigation.push(route.autreCarte);
this.setState((prevState) => ({ with_linked_card: !prevState.with_linked_card }));
};
handleWalletToWallet = () => {
this.props.navigation.push(route.carteLier);
this.setState((prevState) => ({ with_linked_card: prevState.with_linked_card }));
}
render() {
return (
<>
Voulez vous utiliser votre carte de rattaché ? ou voulez vous effectuer un retait d'une autre carte?
utiliser une Autre carte
utiliser Ma carte lier
>
);
}
}
const styles = StyleSheet.create({
container: {
backgroundColor: "#eee",
flex: 1,
justifyContent: 'center',
alignItems: 'center',
},
subbigtitle: {
color: 'black',
fontSize: 17,
textAlign: 'center',
margin: 5,
},
buttons: {
flexDirection: 'row',
justifyContent: 'space-between',
width: '90%',
marginTop: 20,
},
buttons1: {
backgroundColor: 'white',
padding: 10,
borderRadius: 10,
},
buttons2: {
backgroundColor: 'white',
padding: 10,
borderRadius: 10,
},
});
export default Modal;