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

@ -14,6 +14,20 @@ const parse = expr => {
{
type: 'Pin'
},
{
type: 'Box',
props: {
theme: 'capture',
label: 'Demo rendering',
useAnchors: true
},
children: [
{
type: 'HorizontalLayout',
props: {
withConnectors: true
},
children: [
{
type: 'Box',
props: {
@ -31,7 +45,8 @@ const parse = expr => {
{
type: 'Box',
props: {
theme: 'literal'
theme: 'literal',
label: 'Expression'
},
children: [
{
@ -41,6 +56,10 @@ const parse = expr => {
]
}
]
}
]
}
]
},
{
type: 'Pin'

View File

@ -14,6 +14,20 @@ const parse = expr => {
{
type: 'Pin'
},
{
type: 'Box',
props: {
theme: 'capture',
label: 'Demo rendering',
useAnchors: true
},
children: [
{
type: 'HorizontalLayout',
props: {
withConnectors: true
},
children: [
{
type: 'Box',
props: {
@ -31,7 +45,8 @@ const parse = expr => {
{
type: 'Box',
props: {
theme: 'literal'
theme: 'literal',
label: 'Expression'
},
children: [
{
@ -41,6 +56,10 @@ const parse = expr => {
]
}
]
}
]
}
]
},
{
type: 'Pin'