text: //Taken from https://jsfiddle.net/fernandokokocha/p9gqqgp7/
  
  var React = require('react');
  const Modal = React.createClass({
    displayName: 'Modal',
    backdrop: function() {
      return <div className='modal-backdrop in' />;
    },
  
    modal: function() {
      var style = {display: 'block'};
      return (
        <div
          className='modal in'
          tabIndex='-1'
          role='dialog'
          aria-hidden='false'
          ref='modal'
          style={style}
        >
          <div className='modal-dialog modal-sm'>
            <div className='modal-content'>
              {this.props.children}
            </div>
          </div>
        </div>
      );
    },
  
    render: function() {
      return (
        <div>
          {this.backdrop()}
          {this.modal()}
        </div>
      );
    }
  });
  
  module.exports = Modal;