I have a table in React (JSX), and I want to toggle some of the rows (even multiple) by clicking on a row above them.
It's easy to just disappear them, but how can I do it smoothly (slideDown and slideUp)?
Min-height doesn't seem to be working and I also cannot wrap entire tr into a div since it's in React. Thanks.
  <table>
    <tbody>
      <tr>
        <td>main row - onclick toggle the rows under</td>
        <td></td>
      </tr>           
      <tr>
          <td>show only if clicked on the row above (smoothly)</td>
          <td></td>
        </tr>
      <tr>
        <td>show only if clicked on the first row (smoothly)</td>
        <td></td>
      </tr>
    </tbody>
  </table>
 
    