We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fbcc01 commit 68bfa2fCopy full SHA for 68bfa2f
examples/advanced/index.js
@@ -8,7 +8,7 @@ const ExpressApp = () => (
8
<Router path="/">
9
<Get path="/posts" handler={postsHandler} />
10
<Get path="/posts/:id" handler={postHandler} />
11
- <Get path="*" content="Not Found" status={404} />
+ <Get path="*" text="Not Found" status={404} />
12
</Router>
13
</App>
14
);
examples/basic/index.js
@@ -6,13 +6,13 @@ const ExpressApp = () => (
6
<Static publicPath="/public" />
7
<Get
- content={() => (
+ render={() => (
<div>
<h1>Hello World</h1>
</div>
)}
/>
15
16
17
18
0 commit comments