Created
December 3, 2021 21:37
-
-
Save pena56/ce80ae87c92fc638fc7c188a0cbdce8a 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
import './PhotoCard.module.css'; | |
function index({ photo }) { | |
return ( | |
<div className="image-card"> | |
<img alt={photo.author} src={photo.download_url} /> | |
<p>{photo.author}</p> | |
</div> | |
); | |
} | |
export default index; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment