1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-fela/layout.js
Robin Frischmann c72435fe5c update with-fela to Fela > 5.0 (#2253)
* update fela example

* fix wrong whitespace
2017-06-13 22:50:42 +02:00

9 lines
176 B
JavaScript

import { Provider } from 'react-fela'
import getRenderer from './fela'
export default ({ children }) => (
<Provider renderer={getRenderer()}>
{children}
</Provider>
)