chore(react-router-v6): quick fix for some type problems

This commit is contained in:
blam
2020-06-12 02:44:10 +02:00
parent 636cfd4357
commit 6a64ed933f
+1 -1
View File
@@ -19,7 +19,7 @@ import { Link as MaterialLink } from '@material-ui/core';
import { Link as RouterLink } from 'react-router-dom';
type Props = ComponentProps<typeof MaterialLink> &
ComponentProps<typeof RouterLink> & { as?: React.FC<any> };
ComponentProps<typeof RouterLink> & { component?: React.FC<any> };
/**
* Thin wrapper on top of material-ui's Link component