Skip to content

Commit

Permalink
docs: add missing AppProps import (vercel#43136)
Browse files Browse the repository at this point in the history
  • Loading branch information
arturbien authored and jankaifer committed Nov 23, 2022
1 parent 7fa46ec commit dbb42df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/with-styled-components-babel/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import type { AppProps } from 'next/app'
import { createGlobalStyle, ThemeProvider } from 'styled-components'

const GlobalStyle = createGlobalStyle`
Expand All @@ -20,7 +21,7 @@ const theme: ThemeInterface = {
},
}

export default function App({ Component, pageProps }) {
export default function App({ Component, pageProps }: AppProps) {
return (
<>
<GlobalStyle />
Expand Down

0 comments on commit dbb42df

Please sign in to comment.