mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
01da6f4761
* add styletron example * example: fix link * example: improve README * Added styletron example reference to readme and merge with master
9 lines
216 B
JavaScript
9 lines
216 B
JavaScript
import { StyletronProvider } from 'styletron-react'
|
|
import getStyletron from './styletron'
|
|
|
|
export default ({ children }) => (
|
|
<StyletronProvider styletron={getStyletron()}>
|
|
{children}
|
|
</StyletronProvider>
|
|
)
|