1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-31 06:18:07 +00:00
_/pages/_app.tsx
2019-04-23 16:48:33 +09:00

18 lines
425 B
TypeScript

import React from "react";
import App, { Container } from "next/app";
import MainTheme from "../styles/MainTheme";
import TopAppBar from "../styles/TopAppBar";
export default class extends App {
render() {
const { Component, pageProps } = this.props;
return (
<Container>
<MainTheme>
<TopAppBar />
<Component {...pageProps} />
</MainTheme>
</Container>
);
}
}