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-ant-design/index.js
starriv ace748dcfe More elegant application of antd (#2840)
* Update .babelrc

* Create index.js

* Update index.js

* Update index.js

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Fix linting errors
2017-09-08 23:13:52 +02:00

15 lines
382 B
JavaScript

import Head from 'next/head'
export default ({ children }) =>
<div>
<Head>
<meta name='viewport' content='width=device-width, initial-scale=1' />
<meta charSet='utf-8' />
<link rel='stylesheet' href='//cdnjs.cloudflare.com/ajax/libs/antd/2.9.3/antd.min.css' />
</Head>
<style jsx global>{`
body {
}
`}</style>
{children}
</div>