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.
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
<div | |
class="flex items-center px-2 py-3 mb-5 border rounded-md bg-slate-900 hover:bg-slate-800"> | |
@if( isOpen ) { | |
<i class="fa-regular fa-folder-open text-green-500"></i> | |
} @else { | |
<i class="fa-regular fa-folder-closed text-red-500"></i> | |
} |
Descargar esta hoja de atajos: Guías de atajos - Angular
NewerOlder