0.0.1 • Published 6 years ago
@talves/gatsby-theme-site-layout
Licence
MIT
Version
0.0.1
Deps
0
Size
1 kB
Vulns
0
Weekly
0
@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.