-
-
Save parzibyte/bf21957ea3b5330b985ecffa6cf67f16 to your computer and use it in GitHub Desktop.
This file contains 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
render() { | |
return ( | |
<div> | |
<div className="column"> | |
<h1 className="is-size-3">Ver videojuegos</h1> | |
<ToastContainer></ToastContainer> | |
</div> | |
<div className="table-container"> | |
<table className="table is-fullwidth is-bordered"> | |
<thead> | |
<tr> | |
<th>Nombre</th> | |
<th>Precio</th> | |
<th>Calificación</th> | |
<th>Editar</th> | |
<th>Eliminar</th> | |
</tr> | |
</thead> | |
<tbody> | |
{this.state.videojuegos.map(videojuego => { | |
return <FilaDeTablaDeVideojuego key={videojuego.id} videojuego={videojuego}></FilaDeTablaDeVideojuego>; | |
})} | |
</tbody> | |
</table> | |
</div> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment