Skip to content

Commit 0abb852

Browse files
committed
Merge pull request #1234 from prathamesh-sonpatki/fix-typos-in-links
Fix few typos in Link documentation
2 parents b868b28 + 09376b8 commit 0abb852

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/03 Components/Link.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
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.
33

44
A `Link` also knows when the route it links to is active and automatically
55
applies its `activeClassName` and/or `activeStyle` when it is.
@@ -29,7 +29,7 @@ the path.
2929
// create a link with this
3030
<Link to="user" params={{userId: "123"}}/>
3131

32-
// though, if your user properties match up to the dynamic segements:
32+
// though, if your user properties match up to the dynamic segments:
3333
<Link to="user" params={user}/>
3434
```
3535

@@ -77,5 +77,3 @@ active -->
7777
<!-- change style when link is active -->
7878
<Link style={{color: 'white'}} activeStyle={{color: 'red'}} to="user" params={{userId: user.id}} query={{foo: bar}}>{user.name}</Link>
7979
```
80-
81-

0 commit comments

Comments
 (0)