Skip to content

Commit f641b55

Browse files
KillMonger1LekoArts
authored andcommitted
chore(docs): Changed few "we" to "you" in gatsby-link.md (#18660)
1 parent 8da19c4 commit f641b55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/gatsby-link.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ You can read more about it on [`@reach/router`'s documentation](https://reach.te
9393

9494
### Show active styles for partially matched and parent links
9595

96-
By default the `activeStyle` and `activeClassName` props will only be set on a `<Link>` component if the current URL matches its `to` prop _exactly_. Sometimes, we may want to style a `<Link>` as active even if it partially matches the current URL. For example:
96+
By default the `activeStyle` and `activeClassName` props will only be set on a `<Link>` component if the current URL matches its `to` prop _exactly_. Sometimes, you may want to style a `<Link>` as active even if it partially matches the current URL. For example:
9797

98-
- We may want `/blog/hello-world` to match `<Link to="/blog">`
98+
- You may want `/blog/hello-world` to match `<Link to="/blog">`
9999
- Or `/gatsby-link/#passing-state-through-link-and-navigate` to match `<Link to="/gatsby-link">`
100100

101101
In instances like these, just add the `partiallyActive` prop to your `<Link>` component and the style will also be applied even if the `to` prop only is a partial match:

0 commit comments

Comments
 (0)