mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
b45d3b8697
Summary: Fixes minor whitespace issue with the new new-app template. ## Changelog [Android] [Fixed] - Fix missing whitespace in debug instructions Pull Request resolved: https://github.com/facebook/react-native/pull/25122 Differential Revision: D15602100 Pulled By: cpojer fbshipit-source-id: 07c51c6359e37826941de659bcedea692ff3315a
38 lines
915 B
JavaScript
38 lines
915 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow
|
|
* @format
|
|
*/
|
|
|
|
import React from 'react';
|
|
import {Platform, StyleSheet, Text} from 'react-native';
|
|
|
|
const styles = StyleSheet.create({
|
|
highlight: {
|
|
fontWeight: '700',
|
|
},
|
|
});
|
|
|
|
const DebugInstructions = Platform.select({
|
|
ios: () => (
|
|
<Text>
|
|
Press <Text style={styles.highlight}>Cmd+D</Text> in the simulator or{' '}
|
|
<Text style={styles.highlight}>Shake</Text> your device to open the React
|
|
Native debug menu.
|
|
</Text>
|
|
),
|
|
default: () => (
|
|
<Text>
|
|
Press <Text style={styles.highlight}>menu button</Text> or{' '}
|
|
<Text style={styles.highlight}>Shake</Text> your device to open the React
|
|
Native debug menu.
|
|
</Text>
|
|
),
|
|
});
|
|
|
|
export default DebugInstructions;
|