Components

ClubDashboard

<ClubDashboard swimmerData event swimEvent />

Club Dashboard converts the data fetched from the route 'club', to a usable format to be used by the components (FastestMeets,FastestCity,PeakMonths).

Constructor

# <ClubDashboard swimmerData event swimEvent />

PropTypes:
Name Type Required Description Default
swimmerData arrayOf No Standardized JSON File structure Converted from Clubs Component. It is an Array[Workbooks[Events[Swimmers[]]]]
event string Yes The name of the event
swimEvent string Yes The name of the swimEvent

View Source controllers/clubDashboard/clubDashboard.js, line 18