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
Daniel Steigerwald c39e555353 Improve Fela example (#2330)
* Improve Fela example

- add webPreset
- cleaner code
- add key for style
- demonstrate Fela composition

* Fix standard lint
2017-06-28 19:14:18 +02:00

8 lines
181 B
JavaScript

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