Created
March 7, 2023 21:11
-
-
Save douglasabnovato/4320a90e490b936ebcc51a7327f4dd71 to your computer and use it in GitHub Desktop.
o componente com prop name
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
import React from 'react'; | |
import './AnimalCard.css' | |
export default function AnimalCard(props) { | |
const { name } = props; | |
return ( | |
<h2>{name}</h2> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment