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-react-toolbox/pages/index.js
RasmusErik Voel Jensen 8b90e6f148 example: with react-toolbox (#2047)
* example with react-toolbox

* JavaScript standard
2017-05-25 18:32:17 +02:00

17 lines
401 B
JavaScript

import ThemeProvider from 'react-toolbox/lib/ThemeProvider'
import theme from '../static/theme'
import Head from 'next/head'
import Button from 'react-toolbox/lib/button/Button'
export default () => (
<div>
<Head>
<link href='/static/theme.css' rel='stylesheet' />
</Head>
<ThemeProvider theme={theme}>
<Button raised primary>Hello</Button>
</ThemeProvider>
</div>
)