1
0
Fork 0
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:
Philip Roberts 2016-10-25 18:03:20 +01:00 committed by GitHub
parent 6afacbbc7d
commit d4856810d4

View file

@ -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>
) )
``` ```