"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.reset = reset;
exports.setTitle = setTitle;

var _Tooltip = _interopRequireDefault(require("./Tooltip.actionConstants"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

function reset() {
  return {
    type: _Tooltip["default"].RESET
  };
}

function setTitle(title) {
  var isHtmlTitle = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  return {
    type: _Tooltip["default"].SET_TITLE,
    data: {
      title: title,
      isHtmlTitle: isHtmlTitle
    }
  };
}