Skip to content

Commit 66030b2

Browse files
committed
Add doc comment
1 parent 79caf99 commit 66030b2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/components/NotFoundRoute.js

+7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
var merge = require('react/lib/merge');
22
var Route = require('./Route');
33

4+
/**
5+
* A <NotFoundRoute> is a special kind of <Route> that
6+
* renders when the beginning of its parent's path matches
7+
* but none of its siblings do, including any <DefaultRoute>.
8+
* Only one such route may be used at any given level in the
9+
* route hierarchy.
10+
*/
411
function NotFoundRoute(props) {
512
return Route(
613
merge(props, {

0 commit comments

Comments
 (0)