title: onClick Rendering is not happening ReactJs
body: <p>I am creating a web application with react.js also using react-bootstrap.</p>
  
  <p>What I want to accomplish is when user click on button then modal will appear but that is not happening.</p>
  
  <p>Button code </p>
  
  <pre><code>&lt;div className="rightButtons"&gt;
    &lt;button name="updateItem" className="btn btn-primary" onClick={() =&gt; { this.onUpdateItem(this.props.selectedAppTypeId)}} &gt;Update Item&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>function which will be called.</p>
  
  <pre><code>onUpdateItem = (id) =&gt; {
      return (
        &lt;div className="static-modal"&gt;
          &lt;Modal.Dialog&gt;
            &lt;Modal.Header&gt;
              &lt;Modal.Title&gt;Modal title&lt;/Modal.Title&gt;
            &lt;/Modal.Header&gt;
  
            &lt;Modal.Body&gt;One fine body...&lt;/Modal.Body&gt;
  
            &lt;Modal.Footer&gt;
              &lt;Button&gt;Close&lt;/Button&gt;
              &lt;Button bsStyle="primary"&gt;Save changes&lt;/Button&gt;
            &lt;/Modal.Footer&gt;
          &lt;/Modal.Dialog&gt;
        &lt;/div&gt;
      );
    }
  </code></pre>
  
  <p>Any help would be great help. Thanks.</p>