Skip to main content

Module streak_display

Module streak_display 

Source
Expand description

Daily streak display component.

Shows the user’s current daily streak with status indicator and freeze tokens. Different visual states for active, at-risk, frozen, and lost streaks.

§Props

  • streak - Current streak day count
  • status - Streak status (Active, AtRisk, Frozen, Lost)
  • freezes - Number of available streak freeze tokens (0-3)

Re-exports§

pub use StreakDisplay_completions::Component::StreakDisplay;

Structs§

StreakDisplayProps
Properties for the StreakDisplay component.

Functions§

StreakDisplay
Props