Class: DashboardCom

DashboardCom()

DashboardCom Provides a dashboard view in the application. This component displays events, friends, recent flashcards, and quizzes. It also handles loading animations and navigational functionality.

Constructor

new DashboardCom()

Source:
Example
return (
  <DashboardCom />
)

Methods

(static) useEffect()

useEffect hook for fetching data and animations when the component mounts. It fetches user friends, upcoming events, owned flashcards, and quizzes, and sets up Lottie animations.
Source: