Skip to content

Instantly share code, notes, and snippets.

@isilveira1
Last active June 15, 2022 09:51
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 isilveira1/4001fa1dc76194c1472291184620c897 to your computer and use it in GitHub Desktop.
Save isilveira1/4001fa1dc76194c1472291184620c897 to your computer and use it in GitHub Desktop.
// Need to get a dog from the API
const Doggo: NextPage = ({ dog }) => {
return (
<div>
<h1>This is a {dog.name}.</h1>
<Image
alt="This is a doggo"
src={dog.imageURL}
width={520}
height={520}
/>
<p>{dog.description}</p>
</div>
);
};
export default Doggo;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment