Replies: 1 comment
-
|
It technically works to pass a "ReactRouterLink" component, but it indeed raise a Typescript Error |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the Link docs there is an example of passing a React Router Link component in the
componentproperty. However, the docs show that this property only accepts strings.When I try this in my own project (Typescript) - I get the typing errors that the component isn't a string, which matches the docs.
Is the example in the docs incorrect?
Beta Was this translation helpful? Give feedback.
All reactions