mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
[ReactNative] Add few hints in the UI
This commit is contained in:
parent
774442efd2
commit
9e931e9d36
@ -20,8 +20,11 @@ var SampleApp = React.createClass({
|
||||
Welcome to React Native!
|
||||
</Text>
|
||||
<Text style={styles.instructions}>
|
||||
To get started, edit index.ios.js{'\n'}
|
||||
Press Cmd+R to reload
|
||||
To get started, edit index.ios.js
|
||||
</Text>
|
||||
<Text style={styles.instructions}>
|
||||
Press Cmd+R to reload,{'\n'}
|
||||
Cmd+Shift+Z for dev menu
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
@ -43,6 +46,7 @@ var styles = StyleSheet.create({
|
||||
instructions: {
|
||||
textAlign: 'center',
|
||||
color: '#333333',
|
||||
marginBottom: 5,
|
||||
},
|
||||
});
|
||||
|
||||
|
@ -66,7 +66,7 @@ ws.onopen = function() {
|
||||
setStatus('Debugger session #' + sessionID + ' active');
|
||||
ws.send(JSON.stringify({replyID: parseInt(sessionID, 10)}));
|
||||
} else {
|
||||
setStatus('Waiting for simulator');
|
||||
setStatus('Waiting, press ⌘R in simulator to reload and connect');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user