Posts by João Amaral • 3 points
1 post
-
-1
votes1
answer21
viewsQ: Is it possible for a component to have a map that changes the return according to the prop that was passed?
<tbody> {props.item.map((film) => ( <tr> <td>{film.name}</td> <td>{film.mass}</td> <td>{film.height}</td> <td>{film.birth_year}</td>…
reactasked João Amaral 3