title: How to add <Link> react-router to Material-table?
body: <p>I am using the material-table library is a Datatable based on Material-UI Table.</p>
  
  <p>The datatable has the properties of editable and add a new record in the same table but I don't want to do it in the same table.</p>
  
  <p>I need use a button because I want it to open a material UI menu. However, I don't know how I can add a link or something similar.</p>
  
  <p>I tried it with the following code snippet but it tells me that Link is not defined even though it does matter</p>
  
  <pre><code>import React, { useState, useEffect } from 'react';
  import MaterialTable from 'material-table';
  import EditIcon from '@material-ui/icons/Edit';
  import { IconButton } from '@material-ui/core';
  import  axios  from 'axios';
  import { Link} from 'react-router-dom';
  
  export default function TableProducts() {
  
  const url='/api/products';
  
  const [product, setProduct]= useState({Products:[]});
  
  
   useEffect(()=&gt;{
      const getProduct=async()=&gt;{
              const response =await axios.get(url);
              setProduct(response.data);
      }
      getProduct();
  },[]);
  
    return (
  
  &lt;MaterialTable
        title="Products"
        columns={[
          {title: 'id',field: 'id', type: 'numeric', hidden:'false'},
          { title: 'nameproduct',field: 'nameproduct', },
          { title: 'description', field: 'description' },
          { title: 'price', field: 'price' },
        ]} 
        data={product.Products}
        options={{
          filtering: true,
          sorting: true
        }}
        actions={[
          {
            icon: 'edit',
            tooltip: 'Edit ',
            onClick: () =&gt; 
              &lt;Link to={`/product/${data._id}/edit`}&gt;Edit&lt;/Link&gt; 
  
          }
        ]}
        /&gt;
  
      );
    }
  </code></pre>
  
  <p>I want to get something like this done</p>
  
  <pre><code>                &lt;Link
                      to={`/product/edit/${product.id}`}
                      className="btn btn-success mr-2"&gt;Editar
                  &lt;/Link&gt;
  </code></pre>