We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3082c51 commit a8e7e46Copy full SHA for a8e7e46
1 file changed
examples/gatsby/gatsby-ssr.js
@@ -0,0 +1,7 @@
1
+import "@code-hike/mdx/styles.css"
2
+import React from "react"
3
+import { Layout } from "./src/components/layout"
4
+
5
+export const wrapPageElement = ({ element, props }) => {
6
+ return <Layout {...props}>{element}</Layout>
7
+}
0 commit comments