This file contains hidden or 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
| expo init search_Filter_Tutorial |
This file contains hidden or 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 { View, Text } from "react-native"; | |
| const StackScreen = () => { | |
| return ( | |
| <View> | |
| <Text | |
| style={{ | |
| fontSize: 30, | |
| textAlign: "center", |
This file contains hidden or 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 { View, Text } from "react-native"; | |
| const SettingsScreen = () => { | |
| return ( | |
| <View> | |
| <Text | |
| style={{ | |
| fontSize: 30, | |
| textAlign: "center", |
This file contains hidden or 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 { View, Text } from "react-native"; | |
| const HomeScreen = () => { | |
| return ( | |
| <View> | |
| <Text | |
| style={{ | |
| fontSize: 30, | |
| textAlign: "center", |
This file contains hidden or 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 { View, Text } from "react-native"; | |
| const HomeScreen = () => { | |
| return ( | |
| <View> | |
| <Text | |
| style={{ | |
| fontSize: 30, | |
| textAlign: "center", |
This file contains hidden or 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, { useEffect, useState } from "react"; | |
| import { View, Text } from "react-native"; | |
| const HomeScreen = () => { | |
| const [data, setData] = useState([]); | |
| useEffect(() => { | |
| fetchData("https://randomuser.me/api/?results=20"); | |
| }, []); |
This file contains hidden or 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
| return ( | |
| <ScrollView> | |
| <Text style={styles.textFriends}>{data.length} Friends</Text> | |
| { | |
| data.map((item, index) => { | |
| return ( | |
| <View key={index} style={styles.itemContainer}> | |
| <Image | |
| source={{ uri: item.picture.large }} | |
| style={styles.image} |
This file contains hidden or 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, {useEffect, useState} from "react"; | |
| import { View, Text, StyleSheet, TouchableOpacity, ScrollView, Image } from "react-native"; | |
| import { useNavigation } from "@react-navigation/native"; | |
| const HomeScreen = () => { | |
| const navigation = useNavigation(); | |
| const [data, setData] = useState([]); | |
| const [filteredData, setFilteredData] = useState([]); | |
This file contains hidden or 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 type {PropsWithChildren} from 'react'; | |
| import {SafeAreaView, Text, ScrollView, StyleSheet, View} from 'react-native'; | |
| function Row({children}: PropsWithChildren): JSX.Element { | |
| return ( | |
| <View | |
| style={{ | |
| flexDirection: 'row', | |
| columnGap: 15, |
OlderNewer