import React, { Component } from 'react'; import { StyleSheet, Text, View, } from 'react-native'; export default class WelcomeText extends Component { render() { return ( Welcome to React Native! This app shows the basics of navigating between a few screens, working with ListView and handling text input. Modify any files to get started. For example try changing the file views/welcome/WelcomeText.android.js. Double tap R on your keyboard to reload,{'\n'} Shake or press menu button for dev menu. ); } } const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: 'white', padding: 20, }, welcome: { fontSize: 20, textAlign: 'center', margin: 16, }, instructions: { textAlign: 'center', color: '#333333', marginBottom: 12, }, });