diff --git a/Examples/UIExplorer/WebViewExample.js b/Examples/UIExplorer/WebViewExample.js
index f73461493..6654551ad 100644
--- a/Examples/UIExplorer/WebViewExample.js
+++ b/Examples/UIExplorer/WebViewExample.js
@@ -20,6 +20,7 @@ var {
StyleSheet,
Text,
TextInput,
+ TouchableWithoutFeedback,
TouchableOpacity,
View,
WebView
@@ -160,6 +161,60 @@ var WebViewExample = React.createClass({
});
+var Button = React.createClass({
+ _handlePress: function() {
+ if (this.props.enabled && this.props.onPress) {
+ this.props.onPress();
+ }
+ },
+ render: function() {
+ return (
+
+
+ {this.props.text}
+
+
+ );
+ }
+});
+
+var ScaledWebView = React.createClass({
+
+ getInitialState: function() {
+ return {
+ scalingEnabled: true
+ }
+ },
+
+ render: function() {
+ return (
+
+
+
+ { this.state.scalingEnabled ?
+
+
+ );
+ },
+})
+
var styles = StyleSheet.create({
container: {
flex: 1,
@@ -229,6 +284,21 @@ var styles = StyleSheet.create({
width: 20,
marginRight: 6,
},
+ buttons: {
+ flexDirection: 'row',
+ height: 30,
+ backgroundColor: 'black',
+ alignItems: 'center',
+ justifyContent: 'space-between',
+ },
+ button: {
+ flex: 0.5,
+ width: 0,
+ margin: 5,
+ borderColor: 'gray',
+ borderWidth: 1,
+ backgroundColor: 'gray',
+ },
});
const HTML = `
@@ -237,7 +307,7 @@ const HTML = `
Hello Static World
-
+