I am trying to put a Link
component form React Router Dom on my Material UI TableRow element
<TableRow component={Link as any} to={`/company/${company.id}`} className="clt-row" key={company.id}>
But I keep getting the folliwng error
Property 'to' does not exist on type 'IntrinsicAttributes & TableRowProps & { children?: ReactNode; }'. TS2769
How can I resolve this error?