From 3655b57d4749ec87e9564bfcbbffb3eb632bebdd Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Mon, 14 Dec 2020 10:02:33 +0100 Subject: [PATCH] Update link.md --- docs/api-reference/next/link.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/api-reference/next/link.md b/docs/api-reference/next/link.md index 2a5411762e19a..22f06ee0799b4 100644 --- a/docs/api-reference/next/link.md +++ b/docs/api-reference/next/link.md @@ -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 `` 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 `` tag directly. +- The component should support `onClick` property to trigger navigation correctly ## If the child is a function component