Default
Function: default()
function default(props): Element
Defined in: src/components/leaderboard/leaderboard-overview-component.tsx:22
LeaderboardOverview component that displays a period dropdown, the leaderboard for a selected period and a podium for a selected period. It fetches the leaderboard data from the backend and allows users to select different periods.
Parameters
props
The properties passed to the component.
periods
object[]
The list of periods available for selection.
Returns
Element
A JSX element that contains the leaderboard, podium and a dropdown to select periods.