wip(lab): Tweaks to events display
This commit is contained in:
parent
9495e9207c
commit
a912008117
4 changed files with 28 additions and 6 deletions
|
@ -29,7 +29,7 @@ const LabDraft = props => {
|
|||
return (
|
||||
<>
|
||||
{(!patternProps || patternProps.events.error.length > 0)
|
||||
? <Error draft={draft} patternProps={patternProps} updateGist={updateGist} />
|
||||
? <Error {...{ draft, patternProps, updateGist }} />
|
||||
: null
|
||||
}
|
||||
<SvgWrapper {...{ draft, patternProps, gist, updateGist, unsetGist, app, feedback }} />
|
||||
|
|
|
@ -11,6 +11,8 @@ const Svg = ({
|
|||
height,
|
||||
children
|
||||
}) => {
|
||||
if (width < 1) width = 1000
|
||||
if (height < 1) height = 1000
|
||||
let attributes = {
|
||||
xmlns: 'http://www.w3.org/2000/svg',
|
||||
'xmlns:svg': 'http://www.w3.org/2000/svg',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue