From f3aa34ff6a990ad44e1f640847403e5fc8adbd86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Wed, 23 Sep 2015 16:00:37 +0200 Subject: [PATCH] allow style to go to container --- src/View.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/View.js b/src/View.js index 65fe661..16e5e62 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" -- 2.26.2