import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["onTrackEvent"];
import React from "react";
import PMAXDraftNotification from "./PMAXDraftNotification";
import { EventsProvider } from "./events";

var PMAXDraftNotificationWrapper = function PMAXDraftNotificationWrapper(_ref) {
  var onTrackEvent = _ref.onTrackEvent,
      props = _objectWithoutProperties(_ref, _excluded);

  return /*#__PURE__*/React.createElement(EventsProvider, {
    onTrack: onTrackEvent
  }, /*#__PURE__*/React.createElement(PMAXDraftNotification, props));
};

export default PMAXDraftNotificationWrapper;