gatsby-openrpc-theme
Version:
A gatsby theme for generated OpenRPC documentation
16 lines (12 loc) • 393 B
JavaScript
/**
* Implement Gatsby's SSR (Server Side Rendering) APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/ssr-apis/
*/
// You can delete this file if you're not using it
import React from "react"
import Layout from "./src/layouts"
// Wrap all pages with the Layout component
export const wrapPageElement = ({ element, props }) => {
return <Layout {...props}>{element}</Layout>
}