Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 19, 2020 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/bf21957ea3b5330b985ecffa6cf67f16 to your computer and use it in GitHub Desktop.
Save parzibyte/bf21957ea3b5330b985ecffa6cf67f16 to your computer and use it in GitHub Desktop.
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