From a7a947d330bbd2ef00a729417c56e1867c0d2653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Wed, 23 Sep 2015 14:45:06 +0200 Subject: [PATCH] add visibleContent props support --- src/View.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/View.js b/src/View.js index 4227fc7..65fe661 100644 --- a/src/View.js +++ b/src/View.js @@ -11,10 +11,10 @@ const { const GLCanvas = requireNativeComponent("GLCanvas", null); -const renderVcontent = function (width, height, id, children) { +const renderVcontent = function (width, height, id, children, visibleContent) { const childrenStyle = { position: "absolute", - top: 0, + top: visibleContent ? 0 : height, left: 0, width: width, height: height, -- 2.26.2