import Head from 'next/head' import { NextPage } from 'next' import { AppProps } from 'next/app' import { useState } from 'react' import { CSSBaseline, ZEITUIProvider, useTheme, ZeitUIThemes } from 'components' import Menu from 'lib/components/menu' import ConfigContext from 'lib/config-provider' import { DeepPartial } from 'components/utils/types' const Application: NextPage = ({ Component, pageProps }) => { const theme = useTheme() const [customTheme, setCustomTheme] = useState>({}) const themeChangeHandle = (theme: DeepPartial) => { setCustomTheme(theme) } return ( <> React - ZEIT UI ) } export default Application