We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79caf99 commit 66030b2Copy full SHA for 66030b2
modules/components/NotFoundRoute.js
@@ -1,6 +1,13 @@
1
var merge = require('react/lib/merge');
2
var Route = require('./Route');
3
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
+ */
11
function NotFoundRoute(props) {
12
return Route(
13
merge(props, {
0 commit comments