title: react-table getTrProps onclick event
body: <p>Please help me pass the userid from the onclick event to a new end point.
  Below is my code. Console.log gives me the correct output, but both  &amp;  tags did not seem to work in the below scenario.</p>
  
  <pre><code>getTrProps={(state, rowInfo, column, instance) =&gt; {
                      return {
                          onClick: e =&gt; {
                              console.log(rowInfo.original.userid);
                             &lt;a href={'/user/profile/' + `${rowInfo.original.userid}` + '/info'}/&gt;
                          }
                      }
                  }}
  </code></pre>