"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Prevent parent event by stopping propagation from child event listener
* @param e
* @category reactDom
* @module preventEventPropagateToParent
*/
var preventEventPropagateToParent = function (e) {
e.preventDefault();
e.stopPropagation();
};
exports.default = preventEventPropagateToParent;
Source