Home Reference Source

src/utils/NotificationConstants.js

/**
 * Defines constants describing the type of notification.
 * Used to style components.
 * @readonly
 * @enum {number}
 * @type {Object}
 * @property {number} CONFIRMATION - Confirmation type
 * @property {number} ERROR - Error type
 */
const NotificationType = Object.freeze({
    CONFIRMATION: 1,
    ERROR: 2,
});

export {NotificationType, NotificationType as notificationType};