From 87f5de85390352696f145d5384e276b815399c74 Mon Sep 17 00:00:00 2001 From: Fernando Rojo Date: Sat, 19 Nov 2022 16:59:19 -0500 Subject: [PATCH] Update use-link.mdx --- docs/docs/usage/use-link.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/usage/use-link.mdx b/docs/docs/usage/use-link.mdx index a66681f9..6c26886e 100644 --- a/docs/docs/usage/use-link.mdx +++ b/docs/docs/usage/use-link.mdx @@ -18,6 +18,7 @@ const linkProps = useLink({ href, as, shallow, + replace }) ``` @@ -26,6 +27,7 @@ const linkProps = useLink({ - `href`: **required** The URL to link to. Either a `string` or `Url` object. - `as`: The URL to link to. Either a `string` or `Url` object. - `shallow`: `boolean` +- `replace`: `boolean` See the Next.js [Link API](https://nextjs.org/docs/api-reference/next/link) for more details about these props.