Commit f3aa34ff authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau

allow style to go to container

parent a7a947d3
...@@ -32,9 +32,10 @@ const renderVGL = function (props) { ...@@ -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 = { const parentStyle = {
position: "relative", position: "relative",
...style,
width: width, width: width,
height: height, height: height,
overflow: "hidden" overflow: "hidden"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment