blob: e3a3767c2d07eeb2d83353026ae5a66cc7aedb68 [file] [log] [blame]
import React from 'react'
import { theme, useConfig } from 'docz'
import { ThemeProvider } from 'theme-ui'
import Layout from '../components/layout';
import NextLinks from '../components/next';
import 'antd/dist/antd.css';
const Theme = ({ children }) => {
const config = useConfig()
return (
<ThemeProvider theme={config}>
<Layout>
{ children }
<div>
<NextLinks />
</div>
</Layout>
</ThemeProvider>
)
}
//@ts-ignore
export default theme()(Theme)