diff --git a/Readme.md b/Readme.md index d9dd3092e48a..4f3693671c90 100644 --- a/Readme.md +++ b/Readme.md @@ -30,9 +30,9 @@ Every `import` you declare gets bundled and served with each page ```jsx import React from 'react' -import cowsay from 'cowsay' +import cowsay from 'cowsay-browser' export default () => ( -
{ cowsay('hi there!') }
+ { cowsay({ text: 'hi there!' }) }
)
```
@@ -46,11 +46,11 @@ We use [Aphrodite](https://github.com/Khan/aphrodite) to provide a great built-i
import React from 'react'
import { css, StyleSheet } from 'next/css'
-export default () => {
+export default () => (
Hello world!
+Hello world!
+