display of the blocks as SVG in instruction-component

This commit is contained in:
Delucse
2020-09-27 20:15:11 +02:00
parent 5044b09701
commit 9d99c5c30b
8 changed files with 115 additions and 53 deletions
@@ -114,7 +114,10 @@ class BlocklyExample extends Component {
<div style={{marginTop: '10px'}}>
<Grid container className={!this.props.value || this.props.error ? this.props.classes.errorBorder : null}>
<Grid item xs={12}>
<BlocklyWindow initialXml={initialXml}/>
<BlocklyWindow
initialXml={initialXml}
blocklyCSS={{height: '500px'}}
/>
</Grid>
</Grid>
<Button