Updating demos

This commit is contained in:
Jeff Avallone 2019-01-29 17:48:14 -05:00
parent 97509773af
commit 67ca83ff16
2 changed files with 72 additions and 34 deletions

View File

@ -17,27 +17,46 @@ const parse = expr => {
{
type: 'Box',
props: {
theme: 'literal'
theme: 'capture',
label: 'Demo rendering',
useAnchors: true
},
children: [
{
type: 'Text',
type: 'HorizontalLayout',
props: {
withConnectors: true
},
children: [
'JS'
]
}
]
},
{
type: 'Box',
props: {
theme: 'literal'
},
children: [
{
type: 'Text',
children: [
expr
{
type: 'Box',
props: {
theme: 'literal'
},
children: [
{
type: 'Text',
children: [
'JS'
]
}
]
},
{
type: 'Box',
props: {
theme: 'literal',
label: 'Expression'
},
children: [
{
type: 'Text',
children: [
expr
]
}
]
}
]
}
]

View File

@ -17,27 +17,46 @@ const parse = expr => {
{
type: 'Box',
props: {
theme: 'literal'
theme: 'capture',
label: 'Demo rendering',
useAnchors: true
},
children: [
{
type: 'Text',
type: 'HorizontalLayout',
props: {
withConnectors: true
},
children: [
'PCRE'
]
}
]
},
{
type: 'Box',
props: {
theme: 'literal'
},
children: [
{
type: 'Text',
children: [
expr
{
type: 'Box',
props: {
theme: 'literal'
},
children: [
{
type: 'Text',
children: [
'PCRE'
]
}
]
},
{
type: 'Box',
props: {
theme: 'literal',
label: 'Expression'
},
children: [
{
type: 'Text',
children: [
expr
]
}
]
}
]
}
]