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

bundle examples with react-native 0.13-rc

parent 146b86d9
This diff is collapsed.
...@@ -8,6 +8,6 @@ ...@@ -8,6 +8,6 @@
"dependencies": { "dependencies": {
"gl-react-native": "file:../..", "gl-react-native": "file:../..",
"glsl-transitions": "^2015.8.17", "glsl-transitions": "^2015.8.17",
"react-native": "^0.12.0" "react-native": "^0.13.0-rc"
} }
} }
...@@ -136,18 +136,21 @@ class Simple extends React.Component { ...@@ -136,18 +136,21 @@ class Simple extends React.Component {
<Text style={styles.demoTitle}>8. Blur+Hue over UI</Text> <Text style={styles.demoTitle}>8. Blur+Hue over UI</Text>
<View style={styles.demo}> <View style={styles.demo}>
<Blur <HueRotate
autoRedraw hue={-switch1 + 2 * switch2 + 4 * switch3}
eventsThrough
visibleContent
width={256} width={256}
height={160} height={160}
factor={factor}> autoRedraw
eventsThrough
visibleContent>
<Blur <Blur
width={256} width={256}
height={160} height={160}
factor={factor/2}> factor={factor}>
<HueRotate hue={-switch1 + 2 * switch2 + 4 * switch3}> <Blur
width={256}
height={160}
factor={factor/2}>
<View style={{ width: 256, height: 160, padding: 10 }}> <View style={{ width: 256, height: 160, padding: 10 }}>
<SliderIOS <SliderIOS
style={{ height: 80 }} style={{ height: 80 }}
...@@ -162,9 +165,9 @@ class Simple extends React.Component { ...@@ -162,9 +165,9 @@ class Simple extends React.Component {
<ProgressViewIOS progress={factor} style={{height: 10, marginTop: 8, flex:1}} /> <ProgressViewIOS progress={factor} style={{height: 10, marginTop: 8, flex:1}} />
</View> </View>
</HueRotate> </Blur>
</Blur> </Blur>
</Blur> </HueRotate>
</View> </View>
<Text style={styles.demoTitle}>9. Texture from array</Text> <Text style={styles.demoTitle}>9. Texture from array</Text>
......
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
}, },
"dependencies": { "dependencies": {
"gl-react-native": "file:../..", "gl-react-native": "file:../..",
"react-native": "^0.12.0" "react-native": "^0.13.0-rc"
} }
} }
This diff is collapsed.
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
}, },
"dependencies": { "dependencies": {
"gl-react-native": "file:../..", "gl-react-native": "file:../..",
"react-native": "^0.12.0" "react-native": "^0.13.0-rc"
} }
} }
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