'use strict';

var vue = require('vue');
require('../components/index.js');
var antDesignVue = require('ant-design-vue');
var index = require('../components/icon/index.js');

"use strict";
const notificationInfo = ["success", "info", "warning", "error", "warn", "open"];
const llNotification = {};
notificationInfo.map((key) => {
  if (Object.keys(antDesignVue.notification).includes(key)) {
    llNotification[key] = (config) => {
      antDesignVue.notification[key]({
        ...config,
        icon: config.iconProp ? vue.h(index.LlIcon, {
          ...config.iconProp
        }) : config.icon
      });
    };
  }
});

exports.llNotification = llNotification;
//# sourceMappingURL=notification.js.map
