Adding Box rendering component

This commit is contained in:
Jeff Avallone committed 2019-01-27 11:14:30 -05:00
1 parent a118519c3a
commit fe714f2363
5 files changed
+148 -7

No files matched your search

+11 -3
View File
@@ -6,12 +6,20 @@ const parse = expr => {
type: 'SVG',
children: [
{
type: 'Text',
type: 'Box',
props: {
quoted: true
theme: 'literal'
},
children: [
`JS => ${ expr }`
{
type: 'Text',
props: {
quoted: true
},
children: [
`JS => ${ expr }`
]
}
]
}
]
+11 -3
View File
@@ -6,12 +6,20 @@ const parse = expr => {
type: 'SVG',
children: [
{
type: 'Text',
type: 'Box',
props: {
quoted: true
theme: 'literal'
},
children: [
`PCRE => ${ expr }`
{
type: 'Text',
props: {
quoted: true
},
children: [
`PCRE => ${ expr }`
]
}
]
}
]