@talves/gatsby-theme-site-layout
v0.0.1
Published
Attribution: theme-ui/packages/gatsby-theme-ui-layout
Downloads
2
Readme
@talves/gatsby-theme-site-layout
Attribution: theme-ui/packages/gatsby-theme-ui-layout
Gatsby theme for adding shadowable layouts to multiple Gatsby themes for composition.
yarn add @talves/gatsby-theme-site-layout
In your theme, import and use the Layout component, which does not include any default layout.
// example page template
import { Layout } from '@talves/gatsby-theme-site-layout'
export default props =>
<Layout {...props}>
{/* your theme content goes here */}
</Layout>
End-users of a theme that is built with gatsby-theme-ui-layout
can shadow the same Layout component to customize the page layout.