mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
8b90e6f148
* example with react-toolbox * JavaScript standard
17 lines
401 B
JavaScript
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>
|
|
)
|