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

17 lines
401 B
JavaScript
Raw Normal View History

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>
)