Enode — API Reference
    Preparing search index...
    interface NotificationCardListProps {
        className?: string;
        expiryFor?: (
            notification: Notification,
        ) => { expired: boolean; label: string } | undefined;
        items: readonly Notification[];
        now: number;
        onActivate: (notification: Notification) => void;
        onDelete: (notification: Notification) => void;
        onExpand?: (notification: Notification) => void;
        onToggleSelect?: (notification: Notification) => void;
        selectable?: boolean;
        selectedIds?: ReadonlySet<string>;
        unreadIds?: ReadonlySet<string>;
    }
    Index

    Properties

    className?: string
    expiryFor?: (
        notification: Notification,
    ) => { expired: boolean; label: string } | undefined

    Optional per-item export-link expiry sub-label + expired flag (the container owns the clock + translation). Returns undefined for items without one.

    items: readonly Notification[]
    now: number

    Reference time for the day grouping and the row stamps.

    onActivate: (notification: Notification) => void

    Run a notification's action — fired by the row's CTA pill, never by a tap.

    onDelete: (notification: Notification) => void

    Delete one notification — the rows' swipe gesture. Bulk lives in the host.

    onExpand?: (notification: Notification) => void

    A row was opened (collapsed → expanded only). The host decides what that implies — the tracking drawer treats it as "read", with exceptions.

    onToggleSelect?: (notification: Notification) => void
    selectable?: boolean

    Selection mode: rows show a leading circle and a tap picks instead of opens.

    selectedIds?: ReadonlySet<string>
    unreadIds?: ReadonlySet<string>

    Ids of unread notifications — a row renders unread when its id is present.