const React = require("react-native"); const { AppRegistry, Text, View, ScrollView, Image, } = React; const Blur = require("./Blur"); const Add = require("./Add"); const Multiply = require("./Multiply"); const Layer = require("./Layer"); const NativeLayer = require("./NativeLayer"); const HelloGL = require("./HelloGL"); const Display2 = require("./Display2"); const Copy = require("./Copy"); const { width: viewportW, height: viewportH } = require("Dimensions").get("window"); class Tests extends React.Component { constructor (props) { super(props); this.onLoad = this.onLoad.bind(this); this.onProgress = this.onProgress.bind(this); } onLoad () { console.log("LOADED"); } onProgress ({nativeEvent: { progress, loaded, total }}) { console.log("PROGRESS", progress, loaded, total); } render () { const debugSize = viewportW / 2; const helloGL = ; const txt = {[0,1,2,3].map(i => Hello World {i} )} ; const img = "http://i.imgur.com/zJIxPEo.jpg?t="+Date.now(); const blurredImage = {img} ; const blurredImageOverText = {blurredImage} {txt} ; return {txt} {helloGL} {blurredImageOverText} {helloGL} {blurredImage} http://i.imgur.com/mp79p5T.png http://i.imgur.com/mp79p5T.png http://i.imgur.com/mp79p5T.png http://i.imgur.com/mp79p5T.png http://i.imgur.com/mp79p5T.png ; } } AppRegistry.registerComponent("Tests", () => Tests);