1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Merge pull request #53 from latentflip/patch-1

Fix cowsay example so that it compiles
This commit is contained in:
Dan Zajdband 2016-10-25 18:07:38 +01:00 committed by GitHub
commit 5840437fa5

View file

@ -40,7 +40,7 @@ Every `import` you declare gets bundled and served with each page
import React from 'react'
import cowsay from 'cowsay-browser'
export default () => (
<pre>{ cowsay({ text: 'hi there!' }) }</pre>
<pre>{ cowsay.say({ text: 'hi there!' }) }</pre>
)
```