Enode — API Reference
    Preparing search index...

    Function WorkoutCard

    • Parameters

      • __namedParameters: {
            highlighted?: boolean;
            onClick?: () => void;
            provenance?: WorkoutCardProvenance;
            selected?: boolean;
            showParticipants?: boolean;
            status?: WorkoutCardStatus;
            trailingAction?: { label: string; onClick: () => void };
            workout: WorkoutReturnDtoV2;
        }
        • Optionalhighlighted?: boolean
        • OptionalonClick?: () => void
        • Optionalprovenance?: WorkoutCardProvenance
        • Optionalselected?: boolean
        • OptionalshowParticipants?: boolean
        • Optionalstatus?: WorkoutCardStatus
        • OptionaltrailingAction?: { label: string; onClick: () => void }

          A second target in the title row, for surfaces where the card body already does something else — the planner picker, where the body selects and this opens the preview.

          Its own button, so tapping it never reaches the card's handler, and it carries a full sentence as label because a bare chevron beside a title is not a name for anything.

        • workout: WorkoutReturnDtoV2

      Returns Element