title: Making whole card clickable in Reactstrap
body: <p>I'm trying to create a card that, when clicked, performs an action.</p>
  
  <p>I've managed to make this work by adding a button to the card, which is bound to an event handler, and works as expected.</p>
  
  <p>I'm trying to get the whole card to work with the same event handler, as opposed to using the button, but I can't seem to get this to work as I would expect. </p>
  
  <pre><code>const SiteCard = props =&gt; {
    const { site, siteSelectedCallback } = props;
  
    return (
      &lt;Card onClick={siteSelectedCallback} className="card-item"&gt;
        &lt;CardBody&gt;
          &lt;CardTitle&gt;{site.name}&lt;/CardTitle&gt;
          &lt;CardText className="text-muted"&gt;{site.address}&lt;/CardText&gt;
          &lt;Button color="primary" className="float-right" value={site.id}&gt;
           CHOOSE ME
          &lt;/Button&gt;
        &lt;/CardBody&gt;
      &lt;/Card&gt;
    );
  };
  </code></pre>
  
  <p>I've tried wrapping it in an <code>&lt;a&gt;</code> tag, but that also doesn't work.</p>
  
  <p>With the example, I'd expect the card to be clickable, but actually the button still works with the event handler. I've also tried removing the button, but that doesn't make the card clickable.</p>