'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var React = require('react');
var plasmaNewHope = require('@salutejs/plasma-new-hope');
var Notification_config = require('./Notification.config.js');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.notificationConfig, Notification_config.config);
var NotificationNewHope = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
var Notification = NotificationNewHope;
var NotificationsProvider = function NotificationsProvider(_ref) {
  var children = _ref.children,
    _ref$frame = _ref.frame,
    frame = _ref$frame === void 0 ? 'document' : _ref$frame,
    placement = _ref.placement,
    UNSAFE_SSR_ENABLED = _ref.UNSAFE_SSR_ENABLED;
  return /*#__PURE__*/React__default.default.createElement(plasmaNewHope.NotificationsProvider, {
    config: mergedConfig,
    frame: frame,
    placement: placement,
    UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
  }, children);
};

exports.Notification = Notification;
exports.NotificationNewHope = NotificationNewHope;
exports.NotificationsProvider = NotificationsProvider;
//# sourceMappingURL=Notification.js.map
