ENGLISH·COURSE API
    Preparing search index...
    • The prize counter: one shelf per course holding every module's prize, like the counter where arcade tickets are redeemed.

      Parameters

      • courses: {
            courses: readonly CourseAchievements[];
            onClaim?: (moduleSlug: string) => void;
            calledModuleSlug?: string;
            motionOrderStart?: number;
        }

        Each course's module prizes, in catalog order

      Returns Element

      Each shelf is a labelled region named by its course, with a line saying how many of its prizes the learner has claimed, and the prizes in module order. Shelves rise one after another, starting at motionOrderStart so they follow whatever rose before them on the page.

      <PrizeCounter courses={achievements.courses} onClaim={claim} />