Created
March 29, 2018 20:18
-
-
Save javierfernandes/a17149d56ba254d78569271a1c6707fd to your computer and use it in GitHub Desktop.
Redux - truco - Juego con Oponente
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react' | |
| import Ronda from '../containers/Ronda' | |
| import Puntaje from '../containers/Puntaje' | |
| import Oponente from '../containers/Oponente' | |
| import './Juego.css' | |
| export default function Juego({ onIniciarJuego, onJugarCarta }) { | |
| return ( | |
| <div className="juego"> | |
| <Oponente /> | |
| <div> | |
| <a href="#" onClick={onIniciarJuego}>Iniciar Juego</a> | |
| </div> | |
| <Ronda onJugarCarta={onJugarCarta} /> | |
| <div> | |
| <Puntaje /> | |
| </div> | |
| </div> | |
| ) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment