"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NOTIFICATION_VARIANT = void 0;
const react_1 = require("react");
const constants_1 = require("../constants");
const utils_1 = require("../utils");
const NotificationTemplate_1 = require("./NotificationTemplate");
exports.NOTIFICATION_VARIANT = {
    info: (options, { key, ...notifyContent }) => ((0, react_1.createElement)(NotificationTemplate_1.NotificationTemplate, { ...(0, utils_1.getNotificationTemplateProps)(options, notifyContent, constants_1.NotificationVariantTypes.Info), key: key })),
    success: (options, { key, ...notifyContent }) => ((0, react_1.createElement)(NotificationTemplate_1.NotificationTemplate, { ...(0, utils_1.getNotificationTemplateProps)(options, notifyContent, constants_1.NotificationVariantTypes.Success), key: key })),
    warning: (options, { key, ...notifyContent }) => ((0, react_1.createElement)(NotificationTemplate_1.NotificationTemplate, { ...(0, utils_1.getNotificationTemplateProps)(options, notifyContent, constants_1.NotificationVariantTypes.Warning), key: key })),
    error: (options, { key, ...notifyContent }) => ((0, react_1.createElement)(NotificationTemplate_1.NotificationTemplate, { ...(0, utils_1.getNotificationTemplateProps)(options, notifyContent, constants_1.NotificationVariantTypes.Error), key: key })),
    progress: (options, { key, ...notifyContent }) => ((0, react_1.createElement)(NotificationTemplate_1.NotificationTemplate, { ...(0, utils_1.getNotificationTemplateProps)(options, notifyContent, constants_1.NotificationVariantTypes.Progress), key: key })),
};
