import { createElement as _createElement } from "react";
import { NotificationVariantTypes } from '../constants';
import { getNotificationTemplateProps } from '../utils';
import { NotificationTemplate } from './NotificationTemplate';
export const NOTIFICATION_VARIANT = {
    info: (options, { key, ...notifyContent }) => (_createElement(NotificationTemplate, { ...getNotificationTemplateProps(options, notifyContent, NotificationVariantTypes.Info), key: key })),
    success: (options, { key, ...notifyContent }) => (_createElement(NotificationTemplate, { ...getNotificationTemplateProps(options, notifyContent, NotificationVariantTypes.Success), key: key })),
    warning: (options, { key, ...notifyContent }) => (_createElement(NotificationTemplate, { ...getNotificationTemplateProps(options, notifyContent, NotificationVariantTypes.Warning), key: key })),
    error: (options, { key, ...notifyContent }) => (_createElement(NotificationTemplate, { ...getNotificationTemplateProps(options, notifyContent, NotificationVariantTypes.Error), key: key })),
    progress: (options, { key, ...notifyContent }) => (_createElement(NotificationTemplate, { ...getNotificationTemplateProps(options, notifyContent, NotificationVariantTypes.Progress), key: key })),
};
