"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.successMsg = exports.errorMsg = void 0;
var _notify = _interopRequireDefault(require("devextreme/ui/notify"));
var successMsg = exports.successMsg = function successMsg() {
  var message = "Success";
  (0, _notify["default"])({
    message: message,
    position: {
      my: 'center top',
      at: 'center top'
    }
  }, 'success', 3000);
};
var errorMsg = exports.errorMsg = function errorMsg() {
  var message = "Error";
  (0, _notify["default"])({
    message: message,
    position: {
      my: 'center top',
      at: 'center top'
    }
  }, 'error', 3000);
};