Enode — API Reference
    Preparing search index...
    • A compact metric card. Prop-driven over MetricPerformanceData; resolves the metric name / unit / colour from the metrics + text-content stores. showReps switches the body between per-set and per-rep bars.

      Parameters

      • __namedParameters: {
            cornerHandle?: boolean;
            data: MetricPerformanceData;
            onExpand?: () => void;
            onSelectSet: (id: string) => void;
            repBarWidthPx?: number;
            selectedSetID: string | null;
            showReps: boolean;
            slimSetBars?: boolean;
        }
        • OptionalcornerHandle?: boolean

          Enlarge through a visionOS-style grip in the bottom-right corner (tap or drag outward) instead of the zoom icon in the header. Off: the icon.

        • data: MetricPerformanceData
        • OptionalonExpand?: () => void
        • onSelectSet: (id: string) => void
        • OptionalrepBarWidthPx?: number

          Width of the per-rep bars. Defaults to 4 px; both apps' performance tabs pass REP_BAR_THICKNESS_PX so these match the hero chart's bars.

        • selectedSetID: string | null
        • showReps: boolean
        • OptionalslimSetBars?: boolean

          The per-set bars like the History tab's: 60 % of their column with rounded tops, over a soft baseline. Off: full-width bars.

      Returns Element