diff --git a/examples/with-styled-components/pages/_app.js b/examples/with-styled-components/pages/_app.js
index e9f49a88f663a..019f78b2afc64 100644
--- a/examples/with-styled-components/pages/_app.js
+++ b/examples/with-styled-components/pages/_app.js
@@ -1,4 +1,12 @@
-import { ThemeProvider } from 'styled-components'
+import { createGlobalStyle, ThemeProvider } from 'styled-components'
+
+const GlobalStyle = createGlobalStyle`
+ body {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+`
const theme = {
colors: {
@@ -8,8 +16,11 @@ const theme = {
export default function App({ Component, pageProps }) {
return (
-
-
-
+ <>
+
+
+
+
+ >
)
}