in src/screens/codePushScreen.tsx [10:40]
render() {
let self = this;
return (
<View style={{ flex: 1 }} testID="codePushScreen" accessibilityLabel={"codePushScreen"} accessible={true}>
<BaseScreen
options={{
title: "CodePush",
topContainer: {
height: 200,
backgroundColor: "#00695c",
imageSource: images.codepush
},
bottomContainer: {
backgroundColor: "#009688",
description: "Deploy mobile app updates directly to their users' devices.",
bottomButton: {
text: "Sync",
onPress: () => {
self.baseScreen.codepush.sync();
}
}
},
codepush: true
}}
ref={(baseScreen) => {
this.baseScreen = baseScreen;
}}
/>
</View>
);
}