title: How to use slideToggle function in React?
body: <p>I am trying to convert this javascript function as is into react language.</p>
  
  <pre><code>$("#compare-btn").click(function(){
          $(".compare-show").slideToggle("slow");
      });
  </code></pre>
  
  <p>All I want to to do is to make a div slide into the page and stick a the bottom once I click on my "compare" button. Any idea how I can achieve this?</p>