Commit 5840437f authored by Dan Zajdband's avatar Dan Zajdband Committed by GitHub

Merge pull request #53 from latentflip/patch-1

Fix cowsay example so that it compiles
parents 6afacbbc d4856810
...@@ -40,7 +40,7 @@ Every `import` you declare gets bundled and served with each page ...@@ -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>
) )
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment