Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
height={bodyHeight}
width={width}
>
<canvas width="{width}" id="{id}" height="{bodyHeight}">
)
}
}
CanvasNode.defaultProps = Object.assign({},
Node.defaultProps,
{
bodyHeight: 200,
width: 300
}
)
export default CanvasNode
</canvas>