mirror of
https://github.com/dzeiocom/markblog.git
synced 2025-04-22 02:42:14 +00:00
18 lines
306 B
TypeScript
18 lines
306 B
TypeScript
import React from 'react'
|
|
import App from 'next/app'
|
|
import '../styl/styl.styl'
|
|
import Layout from '../components/Layout'
|
|
|
|
class MyApp extends App {
|
|
render() {
|
|
const { Component, pageProps } = this.props
|
|
return(
|
|
<Layout>
|
|
<Component {...pageProps} />
|
|
</Layout>
|
|
)
|
|
}
|
|
}
|
|
|
|
export default MyApp
|