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
const imageUrls: string[] = [ | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-1.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-2.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-3.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-4.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-5.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-6.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-7.jpg", | |
"https://flowbite.s3.amazonaws.com/docs/gallery/square/image-8.jpg", |
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
<h1>{{ name() }}</h1> | |
<dl> | |
<td>Nombre:</td> | |
<dd>{{ name() }}</dd> | |
<td>Edad:</td> | |
<dd>{{ age() }}</dd> | |
<td>Método:</td> |
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
const styles = StyleSheet.create({ | |
container: { | |
flex: 1, | |
justifyContent: 'center', | |
}, | |
message: { | |
textAlign: 'center', | |
paddingBottom: 10, | |
}, |
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 { Ionicons } from '@expo/vector-icons'; | |
import { StyleProp, ViewStyle, TouchableOpacity } from 'react-native'; | |
interface Props { | |
iconName: keyof typeof Ionicons.glyphMap; | |
onPress: () => void; | |
style?: StyleProp<ViewStyle>; | |
} |
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
interface Props { | |
product: Product; | |
} | |
export const ProductCard = ({ product }: Props) => { | |
return ( | |
<ThemedView | |
style={{ |
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
export const products = [ | |
{ | |
id: '1', | |
title: 'Auriculares Inalámbricos', | |
description: | |
'Experimenta una calidad de sonido premium con estos auriculares inalámbricos. Diseñados para la comodidad y el uso prolongado, son perfectos para amantes de la música y profesionales por igual.', | |
price: 99.99, | |
}, | |
{ | |
id: '2', |
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
CREATE TABLE "Place" ( | |
"id" serial PRIMARY KEY, | |
"title" varchar NOT NULL, | |
"description" varchar NOT NULL, | |
"avg_rating" decimal NOT NULL, | |
"image" varchar NOT NULL | |
); | |
Docs React Native | Docs Expo |
Esta es la lista de instalaciones recomendadas para el curso de React Native, si encuentran enlaces adicionales o cambios en esta hoja, pueden hacerlos.
NewerOlder