Skip to content

Commit 68bfa2f

Browse files
committed
updated examples
1 parent 2fbcc01 commit 68bfa2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/advanced/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const ExpressApp = () => (
88
<Router path="/">
99
<Get path="/posts" handler={postsHandler} />
1010
<Get path="/posts/:id" handler={postHandler} />
11-
<Get path="*" content="Not Found" status={404} />
11+
<Get path="*" text="Not Found" status={404} />
1212
</Router>
1313
</App>
1414
);

examples/basic/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ const ExpressApp = () => (
66
<Static publicPath="/public" />
77
<Router path="/">
88
<Get
9-
content={() => (
9+
render={() => (
1010
<div>
1111
<h1>Hello World</h1>
1212
</div>
1313
)}
1414
/>
15-
<Get path="*" content="Not Found" status={404} />
15+
<Get path="*" text="Not Found" status={404} />
1616
</Router>
1717
</App>
1818
);

0 commit comments

Comments
 (0)