Skip to content

Commit ef7a6e1

Browse files
authored
docs: add missing AppProps import (vercel#43136)
1 parent 08ee7b2 commit ef7a6e1

File tree

1 file changed

+2
-1
lines changed
  • examples/with-styled-components-babel/pages

1 file changed

+2
-1
lines changed

examples/with-styled-components-babel/pages/_app.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { AppProps } from 'next/app'
12
import { createGlobalStyle, ThemeProvider } from 'styled-components'
23

34
const GlobalStyle = createGlobalStyle`
@@ -20,7 +21,7 @@ const theme: ThemeInterface = {
2021
},
2122
}
2223

23-
export default function App({ Component, pageProps }) {
24+
export default function App({ Component, pageProps }: AppProps) {
2425
return (
2526
<>
2627
<GlobalStyle />

0 commit comments

Comments
 (0)