Skip to content

Commit

Permalink
Update link.md
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Dec 14, 2020
1 parent 0fcd3b9 commit 3655b57
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/api-reference/next/link.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ function NavLink({ href, name }) {
export default NavLink
```

> **Note**:
> - If you’re using [emotion](https://emotion.sh/)’s JSX pragma feature (`@jsx jsx`), you must use `passHref` even if you use an `<a>` tag directly.
> - Your component should support `onClick` property to make the navigation work without refreshing the page
- If you’re using [emotion](https://emotion.sh/)’s JSX pragma feature (`@jsx jsx`), you must use `passHref` even if you use an `<a>` tag directly.
- The component should support `onClick` property to trigger navigation correctly

## If the child is a function component

Expand Down

0 comments on commit 3655b57

Please sign in to comment.