Enode — API Reference
    Preparing search index...
    interface NotificationCardRowProps {
        expanded: boolean;
        expired?: boolean;
        expiryLabel?: string;
        fullStamp: string;
        notification: Notification;
        onActivate: (notification: Notification) => void;
        onDelete: (notification: Notification) => void;
        onExportAgain?: (notification: Notification) => void;
        onReportProblem?: (notification: Notification) => void;
        onRetryImport?: (notification: Notification) => void;
        onSwipeOpenChange?: (open: boolean) => void;
        onToggle: (notification: Notification) => void;
        selectable?: boolean;
        selected?: boolean;
        stamp: string;
        swipeOpen?: boolean;
        unread: boolean;
    }
    Index

    Properties

    expanded: boolean

    Whether the detail + row actions are revealed.

    expired?: boolean

    Whether expiryLabel is the expired state — suppresses the CTA.

    expiryLabel?: string

    Pre-formatted expiry sub-label for an export-download link (e.g. "Expires in 12m" or "Link expired"); omitted for notifications without an expiring link. The container owns the clock + translation.

    fullStamp: string

    Full, unabbreviated date + time, shown once the row is open.

    notification: Notification
    onActivate: (notification: Notification) => void

    Run the notification's action (the CTA pill). Only rendered when the notification actually has one — see rowActions.

    onDelete: (notification: Notification) => void

    Delete this notification — the swipe gesture's action.

    onExportAgain?: (notification: Notification) => void

    Request a fresh export for an openExportDownload notification whose link has expired. When given, an expired export row offers an "Export again" CTA; when omitted, an expired export row has no CTA (the pre-existing behaviour).

    onReportProblem?: (notification: Notification) => void

    Report a problem with a failed athlete import (category migrationFailed). When given, the row offers a secondary "Report a problem" text button next to the CTA; when omitted, it is not shown.

    onRetryImport?: (notification: Notification) => void

    Retry a failed athlete import (category migrationFailed). When given, the row offers a "Try again" CTA; when omitted, no CTA is shown for it.

    onSwipeOpenChange?: (open: boolean) => void
    onToggle: (notification: Notification) => void

    Toggle the row open/shut. The host decides what expanding also implies.

    selectable?: boolean

    Selection mode: a tap picks the row instead of opening it.

    selected?: boolean
    stamp: string

    Pre-formatted stamp for this row (a time today, a short date before that).

    swipeOpen?: boolean

    Whether this row's swipe panel is revealed (the list allows only one).

    unread: boolean

    Whether this notification is unread (the backend has no per-item readAt).