This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import { AppRegistry, ScrollView, View, StyleSheet } from 'react-native' | |
export default class App extends Component { | |
render() { | |
return ( | |
<ScrollView style={styles.container}> | |
<View style={styles.boxLarge} /> | |
<ScrollView horizontal> | |
<View style={styles.boxSmall} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import { AppRegistry, Image, StyleSheet } from 'react-native' | |
export default class App extends Component { | |
render() { | |
return ( | |
<Image | |
style={styles.image} | |
source={{uri: 'http://www.reactnativeexpress.com/logo.png'}} | |
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Este programa te muestra como agregar un texto. | |
import React, { Component } from 'react' | |
import { AppRegistry, View, Text, StyleSheet } from 'react-native' | |
export default class App extends Component { | |
render() { | |
return ( | |
<View style={styles.container}> | |
<Text style={styles.text}>Hola!</Text> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { StyleSheet, Text, View } from 'react-native'; | |
import {Constants} from 'expo'; | |
import ComponenteInicio from './app/componentes/ComponenteInicio'; | |
export default class App extends React.Component { | |
render() { | |
return ( | |
<View style={styles.container}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { StyleSheet, Text, View } from 'react-native'; | |
import {Constants} from 'expo'; | |
export default class App extends React.Component { | |
render() { | |
return ( | |
<View style={styles.container}> | |
<Text style={styles.parrafo1}>Texto 1</Text> | |
<Text style={styles.parrafo2}>Texto 2</Text> |