Skip to content

Commit

Permalink
Make it easier to find useMatch docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe committed Dec 26, 2023
1 parent 3b65087 commit 648b10f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/docs/router.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,9 @@ More granular match, `page` key only and `tab=tutorial`
activeMatchParams={[{ tab: 'tutorial' }, 'page' ]}
```

You can `useMatch` to create your own component with active styles.
### useMatch

You can use `useMatch` to create your own component with active styles.

> `NavLink` uses it internally!
Expand Down

0 comments on commit 648b10f

Please sign in to comment.