Constructor
new FlashcardShare() → {React.Component}
- Source:
Returns:
A component displaying flashcards and associated actions.
- Type
- React.Component
Methods
(static) handleNextCard()
Navigates to the next flashcard.
- Source:
(static) handlePrevCard()
Navigates to the previous flashcard.
- Source:
(static) handleSaveToMyFlashcards()
Saves the flashcard set to the user's collection.
- Source:
(static) selectCard(card)
Selects a flashcard to display.
Parameters:
Name | Type | Description |
---|---|---|
card |
Object | The flashcard object to be displayed. |
- Source:
(static) toggleFlip()
Toggles the flip state of the flashcard.
- Source:
(static) useEffect()
useEffect hook for fetching flashcards from the repository when the component mounts.
- Source: