Skip to content

Instantly share code, notes, and snippets.

@antonjb
Created September 9, 2019 12:54
Show Gist options
  • Save antonjb/a91d756ed56f8d992dbc2af1b94ecac8 to your computer and use it in GitHub Desktop.
Save antonjb/a91d756ed56f8d992dbc2af1b94ecac8 to your computer and use it in GitHub Desktop.
const definition = Layout.composition({
type: "site-composition",
props: {},
contentAreas: {
header: [
{
type: "site-header",
props: {
title: "Main title"
}
}
],
content: [
{
type: "content-box",
props: {
content: "Content that will appear in this content box"
}
}
]
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment