-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Use case:
I'd like to be able to create different pages with components
Issue:
At the child level the array only supports strings, so there is no way to create a different page layout as far as I can tell
Desired outcome
Being able to generate something like the following would be great:
"pages": [
{
"key": "Home",
"heading": "Home Page",
"items": [
{
"id": "1"
"type": "carousel",
"images": [
{ src: "", alt: ""},
]
},
{
"key": "2",
"type": "table",
"title": "my table"
"items": [
{
"type": "tableRow"
"title": "My title",
"description": "My description"
}
]
}
]
},
{
"key": "About Us Page",
"heading": "About Us",
"items": [
{
"key": "2",
"type": "image",
"src": "",
"alt": "",
"caption": "My image caption"
},
{
"id": "1"
"type": "markdown",
"markdown": "My markdown text"
}
]
}
]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels