Class: MySets

MySets() → {React.Component}

MySets - A functional React component that displays a user's flashcard and quiz sets.

Constructor

new MySets() → {React.Component}

Source:
Returns:
A component for managing and displaying flashcard and quiz sets.
Type
React.Component

Methods

(static) handleFilterChange(event)

Handles changes in the filter selection.
Parameters:
Name Type Description
event Event The event object.
Source:

(static) handleSearchChange(event)

Handles changes in the search input.
Parameters:
Name Type Description
event Event The event object.
Source:

(static) handleShare(selectedId, selectedUsers, isFlashcard)

Handles the sharing of a set with selected users.
Parameters:
Name Type Description
selectedId String The ID of the selected set.
selectedUsers Array Array of selected users to share with.
isFlashcard Boolean Indicates whether the set is a flashcard.
Source:

(static) handleShareClick(id, isFlashcard)

Handles click events for sharing a set.
Parameters:
Name Type Description
id String The ID of the set.
isFlashcard Boolean Indicates whether the set is a flashcard.
Source: