Skip to content

Commit f187c30

Browse files
committed
Update doc comments
1 parent 85c220a commit f187c30

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

modules/components/Link.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ var withoutProperties = require('../helpers/withoutProperties');
44
var transitionTo = require('../helpers/transitionTo');
55
var makeHref = require('../helpers/makeHref');
66

7+
/**
8+
* A map of <Link> component props that are reserved for use by the
9+
* router and/or React. All other props are used as params that are
10+
* interpolated into the link's path.
11+
*/
712
var RESERVED_PROPS = {
813
to: true,
914
className: true,

modules/components/Route.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ var Promise = require('es6-promise').Promise;
1616

1717
/**
1818
* A map of <Route> component props that are reserved for use by the
19-
* router. All other props are considered "static" props and are passed
20-
* through to the route handler.
19+
* router and/or React. All other props are considered "static" and
20+
* are passed through to the route handler.
2121
*/
2222
var RESERVED_PROPS = {
2323
location: true,

0 commit comments

Comments
 (0)