"use strict"; import classNames from "classnames"; import PropTypes from "prop-types"; var PT = PropTypes; var ModalMixin = { componentDidMount: function() { $(ReactDOM.findDOMNode(this)).modal({background: true, keyboard: true, show: false}); }, componentWillUnmount: function() { $(ReactDOM.findDOMNode(this)).off('hidden'); }, handleClick: function(e) { e.stopPropagation(); }, renderModal: function(title, content) { return ( ); } }; module.exports = ModalMixin;