Created
January 31, 2024 12:59
-
-
Save lucifermorningstar1305/4879e3e247b1c39a3e074fa70a88ac3b to your computer and use it in GitHub Desktop.
Implementation of the FlashCard exercise
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 FlashCard from "./FlashCard"; | |
const FlashCards = ({ questions }) => { | |
return ( | |
<div className="flashcards"> | |
{questions.map((question) => ( | |
<FlashCard question={question} key={question.id} /> | |
))} | |
</div> | |
); | |
}; | |
export default FlashCards; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment