"use strict"; import classNames from "classnames"; import PropTypes from "prop-types"; import createReactClass from "create-react-class"; var PT = PropTypes; var Modal = createReactClass({ //fixme! - class Modal extends React.Component { propTypes: { title: PT.object.isRequired, }, componentDidMount: function() { $(ReactDOM.findDOMNode(this)).modal({background: true, keyboard: true, show: false}); }, componentWillUnmount: function() { $(ReactDOM.findDOMNode(this)).off('hidden'); }, handleClick: function(e) { e.stopPropagation(); }, render: function() { return (
); } }); module.exports = Modal;