import * as React from "react"; import { Map, Set } from "immutable"; import { Tabs, Tab, ChallengesStakedDashboardTabTitle, ChallengesCompletedDashboardTabTitle, StyledDashboardSubTab, StyledDashboardActivityDescription, } from "@joincivil/components"; import { StyledTabsComponent } from "./DashboardActivity"; import MyTasksList from "./MyTasksList"; export interface MyChallengesProps { allCompletedChallengesVotedOn: Set; allProposalChallengesVotedOn?: Set; currentUserChallengesStarted: Set; userChallengeData?: Map; challengeToAppealChallengeMap?: Map; activeSubTabIndex: number; setActiveSubTabIndex(activeSubIndex: number): void; showClaimRewardsTab(): void; showRescueTokensTab(): void; showNoMobileTransactionsModal(): void; } const MyChallenges: React.FunctionComponent = props => { const { allCompletedChallengesVotedOn, allProposalChallengesVotedOn, currentUserChallengesStarted, userChallengeData, challengeToAppealChallengeMap, activeSubTabIndex, setActiveSubTabIndex, showClaimRewardsTab, showRescueTokensTab, } = props; const completedChallengesTitle = ( ); const stakedChallengesTitle = ; return ( <> <> Summary of completed challenges you voted in <> Challenges you created ); }; export default MyChallenges;