diff --git a/src/View.js b/src/View.js index 65fe66138e7981a60894043f8e6fc39cb1f37cdb..16e5e62936ab61501d551fd715c883968db87b69 100644 --- a/src/View.js +++ b/src/View.js @@ -32,9 +32,10 @@ const renderVGL = function (props) { />; }; -const renderVcontainer = function (width, height, contents, renderer) { +const renderVcontainer = function (width, height, contents, renderer, style) { const parentStyle = { position: "relative", + ...style, width: width, height: height, overflow: "hidden"