Skip to content

Commit 4906a94

Browse files
author
Sabra Pratt
committed
Merge pull request #1975 from brandonlilly/master
Update activeClassName docs
2 parents 13e2355 + 3338829 commit 4906a94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/Link.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ State to persist to the `location`.
2222

2323
#### `activeClassName`
2424

25-
The className a `Link` receives when its route is active. Defaults to `active`.
25+
The className a `Link` receives when its route is active. No active class by default.
2626

2727
#### `activeStyle`
2828

@@ -55,4 +55,4 @@ Given a route like `<Route path="/users/:userId"/>`:
5555

5656
// change style when link is active
5757
<Link to="/users" style={{color: 'white'}} activeStyle={{color: 'red'}}>Users</Link>
58-
```
58+
```

0 commit comments

Comments
 (0)