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

add visibleContent props support

parent 1308d92c
...@@ -11,10 +11,10 @@ const { ...@@ -11,10 +11,10 @@ const {
const GLCanvas = requireNativeComponent("GLCanvas", null); const GLCanvas = requireNativeComponent("GLCanvas", null);
const renderVcontent = function (width, height, id, children) { const renderVcontent = function (width, height, id, children, visibleContent) {
const childrenStyle = { const childrenStyle = {
position: "absolute", position: "absolute",
top: 0, top: visibleContent ? 0 : height,
left: 0, left: 0,
width: width, width: width,
height: height, height: height,
......
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