From c6fc61f384a17363cd32cbd5c2a88ac45197471c Mon Sep 17 00:00:00 2001 From: KillMonger1 Date: Tue, 15 Oct 2019 00:57:03 +0530 Subject: [PATCH] changed we to you --- docs/docs/gatsby-link.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/gatsby-link.md b/docs/docs/gatsby-link.md index da276fe3a49cb..3529be58c9f66 100644 --- a/docs/docs/gatsby-link.md +++ b/docs/docs/gatsby-link.md @@ -93,9 +93,9 @@ You can read more about it on [`@reach/router`'s documentation](https://reach.te ### Show active styles for partially matched and parent links -By default the `activeStyle` and `activeClassName` props will only be set on a `` component if the current URL matches its `to` prop _exactly_. Sometimes, we may want to style a `` as active even if it partially matches the current URL. For example: +By default the `activeStyle` and `activeClassName` props will only be set on a `` component if the current URL matches its `to` prop _exactly_. Sometimes, you may want to style a `` as active even if it partially matches the current URL. For example: -- We may want `/blog/hello-world` to match `` +- You may want `/blog/hello-world` to match `` - Or `/gatsby-link/#passing-state-through-link-and-navigate` to match `` In instances like these, just add the `partiallyActive` prop to your `` component and the style will also be applied even if the `to` prop only is a partial match: