We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de785e7 commit 1407a67Copy full SHA for 1407a67
packages/react-router-dom/docs/api/Link.md
@@ -87,7 +87,7 @@ let anchorRef = React.createRef()
87
If you would like utilize your own navigation component, you can simply do so by passing it through the `component` prop.
88
89
```jsx
90
-const FancyLink = React.forwardRef((props, ref) => (
+const FancyLink = React.forwardRef(({ navigate, ...props }, ref) => (
91
<a ref={ref} {...props}>💅 {props.children}</a>
92
))
93
0 commit comments