const React = require("react-native"); const { AppRegistry, Text, View, } = React; const Blur = require("./Blur"); const Add = require("./Add"); const Multiply = require("./Multiply"); const Layer = require("./Layer"); const HelloGL = require("./HelloGL"); const Display2 = require("./Display2"); const { width: viewportW, height: viewportH } = require("Dimensions").get("window"); const Tests = React.createClass({ render: function() { const helloGL = ; const txt = {[0,1,2,3].map(i => Hello World {i} )} ; const img = "http://i.imgur.com/zJIxPEo.jpg"; const blurredImage = {img} ; const blurredImageOverText = {blurredImage} {txt} ; return {txt} {helloGL} {blurredImageOverText} {helloGL} {blurredImage} {txt} ; } }); AppRegistry.registerComponent("Tests", () => Tests);