Skip to content

Commit da40847

Browse files
committed
Merge pull request #315 from pthorn/master
[fixed] Document the name prop passed to RouteHandlers
2 parents 64739e4 + 2f014b7 commit da40847

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/api/components/RouteHandler.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ var routes = (
4545
React.renderComponent(routes, document.body);
4646
```
4747

48+
### `name`
49+
50+
The current route name.
51+
4852
### `params`
4953

5054
When a route has dynamic segments like `<Route path="users/:userId"/>`,

0 commit comments

Comments
 (0)