This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import React, {
1010 View ,
1111} from "react-native" ;
1212
13- import Button from "react-native-button" ;
1413import CodePush from "react-native-code-push" ;
1514
1615let CodePushDemoApp = React . createClass ( {
@@ -106,9 +105,9 @@ let CodePushDemoApp = React.createClass({
106105 ) ;
107106 } else {
108107 syncButton = (
109- < Button style = { { color : 'green' } } onPress = { this . sync } >
110- Start Sync!
111- </ Button >
108+ < TouchableOpacity onPress = { this . sync } >
109+ < Text style = { { color : 'green' , fontSize : 17 } } > Start Sync!</ Text >
110+ </ TouchableOpacity >
112111 ) ;
113112 }
114113
@@ -127,9 +126,9 @@ let CodePushDemoApp = React.createClass({
127126 { syncView }
128127 { progressView }
129128 < Image style = { styles . image } resizeMode = { Image . resizeMode . contain } source = { require ( './images/laptop_phone_howitworks.png' ) } />
130- < Button onPress = { this . toggleAllowRestart } >
131- Restart { this . state . restartAllowed ? "allowed" : "forbidden" }
132- </ Button >
129+ < TouchableOpacity onPress = { this . toggleAllowRestart } >
130+ < Text style = { { color : 'blue' , fontSize : 17 } } > Restart { this . state . restartAllowed ? "allowed" : "forbidden" } </ Text >
131+ </ TouchableOpacity >
133132 </ View >
134133 ) ;
135134 }
Original file line number Diff line number Diff line change 77 },
88 "dependencies" : {
99 "react-native" : " 0.19.0" ,
10- "react-native-button" : " ^1.2.0" ,
1110 "react-native-code-push" : " file:../../"
1211 },
1312 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments