export default function (scrawl, el) {
const snippet = scrawl.makeSnippet({
domElement: el,
});
if (snippet) {
scrawl.makeBlock({
name: `${snippet.element.name}-box`,
group: snippet.canvas.base.name,
width: '50%',
height: '50%',
startX: '25%',
startY: '25%',
globalAlpha: 0.3,
strokeStyle: 'lightgreen',
lineWidth: 40,
method: 'draw',
});
}
return snippet;
}