Enode — API Reference
    Preparing search index...
    type NotificationsViewContentProps = {
        failedChoice?: FailedNotificationChoice | null;
        onRetry: () => void;
        onToggle: (
            category: NotificationCategory,
            channel: NotificationChannel,
            value: boolean,
        ) => void;
        role?: NotificationRole;
        state: NotificationsLoadState;
        t: TranslateFn;
    }
    Index

    Properties

    failedChoice?: FailedNotificationChoice | null

    The switch whose last save failed (error line under its row).

    onRetry: () => void
    onToggle: (
        category: NotificationCategory,
        channel: NotificationChannel,
        value: boolean,
    ) => void

    Role of the signed-in user; topics for other roles are hidden.