File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
The primary way to allow users to navigate around your application.
2
- ` Link ` will render a fully accesible anchor tag with the proper href.
2
+ ` Link ` will render a fully accessible anchor tag with the proper href.
3
3
4
4
A ` Link ` also knows when the route it links to is active and automatically
5
5
applies its ` activeClassName ` and/or ` activeStyle ` when it is.
@@ -29,7 +29,7 @@ the path.
29
29
// create a link with this
30
30
< Link to= " user" params= {{userId: " 123" }}/ >
31
31
32
- // though, if your user properties match up to the dynamic segements :
32
+ // though, if your user properties match up to the dynamic segments :
33
33
< Link to= " user" params= {user}/ >
34
34
```
35
35
@@ -77,5 +77,3 @@ active -->
77
77
<!-- change style when link is active -->
78
78
<Link style ={{color: ' white' }} activeStyle ={{color: ' red' }} to =" user" params ={{userId: user.id}} query ={{foo: bar}}>{user.name}</Link >
79
79
```
80
-
81
-
You can’t perform that action at this time.
0 commit comments