mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix cowsay example so that it compiles
This commit is contained in:
parent
6afacbbc7d
commit
d4856810d4
|
@ -40,7 +40,7 @@ Every `import` you declare gets bundled and served with each page
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import cowsay from 'cowsay-browser'
|
import cowsay from 'cowsay-browser'
|
||||||
export default () => (
|
export default () => (
|
||||||
<pre>{ cowsay({ text: 'hi there!' }) }</pre>
|
<pre>{ cowsay.say({ text: 'hi there!' }) }</pre>
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue