Initial commit
Generated by create-expo-app 3.2.0.
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
import { COLORS } from "@/constants/colors";
|
||||
import { Tabs } from "expo-router";
|
||||
import { Ionicons } from "@expo/vector-icons";
|
||||
import React from "react";
|
||||
|
||||
export default function RootLayout() {
|
||||
return (
|
||||
<Tabs
|
||||
screenOptions={{
|
||||
headerShadowVisible: false,
|
||||
headerStyle: {
|
||||
backgroundColor: COLORS.background,
|
||||
},
|
||||
headerTintColor: COLORS.text,
|
||||
headerTitleStyle: {
|
||||
fontWeight: "bold",
|
||||
},
|
||||
tabBarStyle: {
|
||||
backgroundColor: COLORS.containerBackground,
|
||||
borderTopColor: COLORS.text,
|
||||
borderTopWidth: 1,
|
||||
},
|
||||
tabBarActiveTintColor: COLORS.text,
|
||||
tabBarInactiveTintColor: COLORS.inactive,
|
||||
}}
|
||||
>
|
||||
<Tabs.Screen
|
||||
name={"index"}
|
||||
options={{
|
||||
href: null,
|
||||
}}
|
||||
></Tabs.Screen>
|
||||
<Tabs.Screen
|
||||
name="films"
|
||||
options={{
|
||||
title: "All Films",
|
||||
headerShown: false,
|
||||
tabBarLabel: "Films",
|
||||
tabBarIcon: ({ color, size }) => (
|
||||
<Ionicons name="film-outline" size={size} color={color} />
|
||||
),
|
||||
}}
|
||||
></Tabs.Screen>
|
||||
<Tabs.Screen
|
||||
name="people"
|
||||
options={{
|
||||
title: "All Characters",
|
||||
headerShown: false,
|
||||
tabBarLabel: "People",
|
||||
tabBarIcon: ({ color, size }) => (
|
||||
<Ionicons name="person-outline" size={size} color={color} />
|
||||
),
|
||||
}}
|
||||
></Tabs.Screen>
|
||||
<Tabs.Screen
|
||||
name="fav"
|
||||
options={{
|
||||
title: "Favorites",
|
||||
tabBarIcon: ({ color, size }) => (
|
||||
<Ionicons name="star-outline" size={size} color={color} />
|
||||
),
|
||||
}}
|
||||
></Tabs.Screen>
|
||||
</Tabs>
|
||||
);
|
||||
}
|
||||
+111
@@ -0,0 +1,111 @@
|
||||
import {
|
||||
FlatList,
|
||||
RefreshControl,
|
||||
StyleSheet,
|
||||
Text,
|
||||
TouchableOpacity,
|
||||
View,
|
||||
} from "react-native";
|
||||
import React, { useEffect } from "react";
|
||||
import { Film } from "@/types/film";
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
import { FAVORITES_KEY } from "@/constants/keys";
|
||||
import { COLORS } from "@/constants/colors";
|
||||
import FilmItem from "@/components/FilmItem";
|
||||
import ListEmptyComponent from "@/components/ListEmptyComponent";
|
||||
import { Ionicons } from "@expo/vector-icons";
|
||||
import { useFocusEffect } from "expo-router";
|
||||
|
||||
const Page = () => {
|
||||
const [favorites, setFavorites] = React.useState<Film[]>([]);
|
||||
const [refreshing, setRefreshing] = React.useState(false);
|
||||
|
||||
const fetchFavorites = async () => {
|
||||
try {
|
||||
const favorites = await AsyncStorage.getItem(FAVORITES_KEY);
|
||||
if (favorites) {
|
||||
setFavorites(JSON.parse(favorites) as Film[]);
|
||||
}
|
||||
} catch (error) {
|
||||
} finally {
|
||||
setRefreshing(false);
|
||||
}
|
||||
};
|
||||
|
||||
const onRefresh = () => {
|
||||
setRefreshing(true);
|
||||
fetchFavorites();
|
||||
};
|
||||
|
||||
const removeFavorite = async (film: Film) => {
|
||||
const updatedFavorites = favorites.filter(
|
||||
(f) => f.episode_id !== film.episode_id,
|
||||
);
|
||||
try {
|
||||
setFavorites(updatedFavorites);
|
||||
await AsyncStorage.setItem(
|
||||
FAVORITES_KEY,
|
||||
JSON.stringify(updatedFavorites),
|
||||
);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
};
|
||||
|
||||
const renderItem = ({ item }: { item: Film }) => (
|
||||
<View style={styles.itemContainer}>
|
||||
<Text style={styles.itemText}>{item.title}</Text>
|
||||
<TouchableOpacity onPress={() => removeFavorite(item)}>
|
||||
<Ionicons name="trash-outline" size={24} color={COLORS.text} />
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
);
|
||||
|
||||
useFocusEffect(
|
||||
React.useCallback(() => {
|
||||
fetchFavorites();
|
||||
}, []),
|
||||
);
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<FlatList
|
||||
data={favorites}
|
||||
renderItem={renderItem}
|
||||
keyExtractor={(item) => item.episode_id.toString()}
|
||||
refreshing={refreshing}
|
||||
refreshControl={
|
||||
<RefreshControl
|
||||
refreshing={refreshing}
|
||||
onRefresh={onRefresh}
|
||||
tintColor={COLORS.text}
|
||||
/>
|
||||
}
|
||||
ListEmptyComponent={() => <ListEmptyComponent loading={false} />}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
export default Page;
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: COLORS.containerBackground,
|
||||
},
|
||||
itemContainer: {
|
||||
flexDirection: "row",
|
||||
justifyContent: "space-between",
|
||||
alignItems: "center",
|
||||
backgroundColor: COLORS.itemBackground,
|
||||
padding: 16,
|
||||
marginVertical: 8,
|
||||
marginHorizontal: 16,
|
||||
borderRadius: 8,
|
||||
},
|
||||
itemText: {
|
||||
fontSize: 16,
|
||||
color: COLORS.text,
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,133 @@
|
||||
import { COLORS } from "@/constants/colors";
|
||||
import { FAVORITES_KEY } from "@/constants/keys";
|
||||
import { Film } from "@/types/film";
|
||||
import { Ionicons } from "@expo/vector-icons";
|
||||
import AsyncStorage from "@react-native-async-storage/async-storage";
|
||||
import { Stack, useLocalSearchParams } from "expo-router";
|
||||
import React, { useEffect, useState } from "react";
|
||||
import {
|
||||
ScrollView,
|
||||
StyleSheet,
|
||||
Text,
|
||||
TouchableOpacity,
|
||||
View,
|
||||
} from "react-native";
|
||||
|
||||
const Page = () => {
|
||||
const { id } = useLocalSearchParams();
|
||||
const [film, setFilm] = useState<Film | null>(null);
|
||||
const [loading, setLoading] = useState(true);
|
||||
const [isFavorite, setIsFavorite] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
const fetchFilm = async () => {
|
||||
try {
|
||||
setLoading(true);
|
||||
const response = await fetch(`https://swapi.dev/api/films/${id}`);
|
||||
const data = await response.json();
|
||||
setFilm(data);
|
||||
checkFavoriteStatus(data);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
};
|
||||
|
||||
fetchFilm();
|
||||
}, [id]);
|
||||
|
||||
const checkFavoriteStatus = async (film: Film) => {
|
||||
try {
|
||||
const favorites = await AsyncStorage.getItem(FAVORITES_KEY);
|
||||
if (favorites) {
|
||||
const favoriteFilms = JSON.parse(favorites) as Film[];
|
||||
setIsFavorite(
|
||||
favoriteFilms.some((f) => f.episode_id === film.episode_id),
|
||||
);
|
||||
}
|
||||
} catch (error) {}
|
||||
};
|
||||
|
||||
const toggleFavorite = async () => {
|
||||
try {
|
||||
const favorites = await AsyncStorage.getItem(FAVORITES_KEY);
|
||||
let favoriteFilms = favorites ? JSON.parse(favorites) : [];
|
||||
if (isFavorite) {
|
||||
favoriteFilms = favoriteFilms.filter(
|
||||
(f: Film) => f.episode_id !== film?.episode_id,
|
||||
);
|
||||
} else {
|
||||
favoriteFilms.push(film);
|
||||
}
|
||||
await AsyncStorage.setItem(FAVORITES_KEY, JSON.stringify(favoriteFilms));
|
||||
setIsFavorite(!isFavorite);
|
||||
} catch (error) {}
|
||||
};
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<View>
|
||||
<Text style={{ color: "#fff" }}>Loading...</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
if (!film) {
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text style={{ color: "#fff" }}>Film not found</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<ScrollView style={styles.container}>
|
||||
<Stack.Screen
|
||||
options={{
|
||||
headerRight: () => (
|
||||
<TouchableOpacity onPress={toggleFavorite}>
|
||||
<Ionicons
|
||||
name={isFavorite ? "star" : "star-outline"}
|
||||
size={24}
|
||||
color={COLORS.text}
|
||||
/>
|
||||
</TouchableOpacity>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
<Text style={styles.details}>Title: {film.title}</Text>
|
||||
<Text style={styles.details}>Director: {film.director}</Text>
|
||||
<Text style={styles.details}>Producer: {film.producer}</Text>
|
||||
<Text style={styles.details}>Release Date: {film.release_date}</Text>
|
||||
<Text style={styles.crawl}>{film.opening_crawl}</Text>
|
||||
</ScrollView>
|
||||
);
|
||||
};
|
||||
|
||||
export default Page;
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: COLORS.containerBackground,
|
||||
padding: 16,
|
||||
},
|
||||
title: {
|
||||
fontSize: 24,
|
||||
fontWeight: "bold",
|
||||
color: COLORS.text,
|
||||
marginBottom: 16,
|
||||
},
|
||||
details: {
|
||||
fontSize: 16,
|
||||
color: COLORS.text,
|
||||
marginBottom: 8,
|
||||
},
|
||||
crawl: {
|
||||
fontSize: 16,
|
||||
color: COLORS.text,
|
||||
fontStyle: "italic",
|
||||
marginTop: 16,
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,36 @@
|
||||
import { StyleSheet, Text, View } from "react-native";
|
||||
import React from "react";
|
||||
import { Stack } from "expo-router";
|
||||
import { COLORS } from "@/constants/colors";
|
||||
|
||||
const Layout = () => {
|
||||
return (
|
||||
<Stack
|
||||
screenOptions={{
|
||||
headerShadowVisible: false,
|
||||
headerStyle: {
|
||||
backgroundColor: COLORS.background,
|
||||
},
|
||||
headerTintColor: COLORS.text,
|
||||
headerTitleStyle: {
|
||||
fontWeight: "bold",
|
||||
},
|
||||
contentStyle: {
|
||||
backgroundColor: COLORS.background,
|
||||
},
|
||||
}}
|
||||
>
|
||||
<Stack.Screen name="index" options={{ title: "All Films" }} />
|
||||
<Stack.Screen
|
||||
name="[id]"
|
||||
options={{
|
||||
title: "Film Details",
|
||||
}}
|
||||
/>
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
|
||||
const styles = StyleSheet.create({});
|
||||
@@ -0,0 +1,68 @@
|
||||
import FilmItem from "@/components/FilmItem";
|
||||
import ListEmptyComponent from "@/components/ListEmptyComponent";
|
||||
import { COLORS } from "@/constants/colors";
|
||||
import { Film } from "@/types/film";
|
||||
import React, { useEffect } from "react";
|
||||
import { FlatList, RefreshControl, StyleSheet, View } from "react-native";
|
||||
|
||||
const Page = () => {
|
||||
const [films, setFilms] = React.useState<Film[]>([]);
|
||||
const [refreshing, setRefreshing] = React.useState(false);
|
||||
const [loading, setLoading] = React.useState(false);
|
||||
|
||||
const fetchFilms = async () => {
|
||||
try {
|
||||
setLoading(true);
|
||||
const response = await fetch("https://swapi.dev/api/films/");
|
||||
const data = await response.json();
|
||||
setFilms(data.results);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
} finally {
|
||||
setLoading(false);
|
||||
setRefreshing(false);
|
||||
}
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
fetchFilms();
|
||||
}, []);
|
||||
|
||||
const onRefresh = () => {
|
||||
setRefreshing(true);
|
||||
fetchFilms();
|
||||
};
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<FlatList
|
||||
data={films}
|
||||
keyExtractor={(item) => item.episode_id.toString()}
|
||||
renderItem={({ item }) => <FilmItem item={item} />}
|
||||
refreshControl={
|
||||
<RefreshControl
|
||||
refreshing={refreshing}
|
||||
onRefresh={onRefresh}
|
||||
tintColor={COLORS.text}
|
||||
/>
|
||||
}
|
||||
ListEmptyComponent={
|
||||
<ListEmptyComponent loading={loading} message="No films found" />
|
||||
}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
export default Page;
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: COLORS.containerBackground,
|
||||
},
|
||||
item: {
|
||||
padding: 16,
|
||||
borderBottomWidth: 1,
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,6 @@
|
||||
import { Redirect } from "expo-router";
|
||||
import { Text, View } from "react-native";
|
||||
|
||||
export default function Index() {
|
||||
return <Redirect href={"/films"} />;
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
import { COLORS } from "@/constants/colors";
|
||||
import { Person } from "@/types/person";
|
||||
import { useLocalSearchParams } from "expo-router";
|
||||
import React, { useEffect, useState } from "react";
|
||||
import { ScrollView, StyleSheet, Text, View } from "react-native";
|
||||
|
||||
const Page = () => {
|
||||
const { id } = useLocalSearchParams();
|
||||
const [person, setPerson] = useState<Person | null>(null);
|
||||
const [loading, setLoading] = useState(true);
|
||||
|
||||
useEffect(() => {
|
||||
const fetchPeople = async () => {
|
||||
try {
|
||||
setLoading(true);
|
||||
const response = await fetch(`https://swapi.dev/api/people/${id}`);
|
||||
const data = await response.json();
|
||||
setPerson(data);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
} finally {
|
||||
setLoading(false);
|
||||
}
|
||||
};
|
||||
|
||||
fetchPeople();
|
||||
}, [id]);
|
||||
|
||||
if (loading) {
|
||||
return (
|
||||
<View>
|
||||
<Text style={{ color: "#fff" }}>Loading...</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
if (!person) {
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text style={{ color: "#fff" }}>Film not found</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<ScrollView style={styles.container}>
|
||||
<View style={styles.header}>
|
||||
<Text style={styles.name}>{person.name}</Text>
|
||||
</View>
|
||||
<Text style={styles.detail}>Height: {person.height} cm</Text>
|
||||
<Text style={styles.detail}>Mass: {person.mass} kg</Text>
|
||||
<Text style={styles.detail}>Hair Color: {person.hair_color}</Text>
|
||||
<Text style={styles.detail}>Skin Color: {person.skin_color}</Text>
|
||||
<Text style={styles.detail}>Eye Color: {person.eye_color}</Text>
|
||||
<Text style={styles.detail}>Birth Year: {person.birth_year}</Text>
|
||||
<Text style={styles.detail}>Gender: {person.gender}</Text>
|
||||
</ScrollView>
|
||||
);
|
||||
};
|
||||
|
||||
export default Page;
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
padding: 16,
|
||||
backgroundColor: COLORS.background,
|
||||
},
|
||||
header: {
|
||||
flexDirection: "row",
|
||||
justifyContent: "space-between",
|
||||
alignItems: "center",
|
||||
marginBottom: 16,
|
||||
},
|
||||
name: {
|
||||
fontSize: 24,
|
||||
fontWeight: "bold",
|
||||
color: COLORS.text,
|
||||
flex: 1,
|
||||
},
|
||||
favoriteButton: {
|
||||
padding: 8,
|
||||
},
|
||||
detail: {
|
||||
fontSize: 16,
|
||||
color: COLORS.text,
|
||||
marginBottom: 8,
|
||||
},
|
||||
});
|
||||
@@ -0,0 +1,36 @@
|
||||
import { StyleSheet, Text, View } from "react-native";
|
||||
import React from "react";
|
||||
import { Stack } from "expo-router";
|
||||
import { COLORS } from "@/constants/colors";
|
||||
|
||||
const Layout = () => {
|
||||
return (
|
||||
<Stack
|
||||
screenOptions={{
|
||||
headerShadowVisible: false,
|
||||
headerStyle: {
|
||||
backgroundColor: COLORS.background,
|
||||
},
|
||||
headerTintColor: COLORS.text,
|
||||
headerTitleStyle: {
|
||||
fontWeight: "bold",
|
||||
},
|
||||
contentStyle: {
|
||||
backgroundColor: COLORS.background,
|
||||
},
|
||||
}}
|
||||
>
|
||||
<Stack.Screen name="index" options={{ title: "All Characters" }} />
|
||||
<Stack.Screen
|
||||
name="[id]"
|
||||
options={{
|
||||
title: "Character Details",
|
||||
}}
|
||||
/>
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
|
||||
const styles = StyleSheet.create({});
|
||||
@@ -0,0 +1,158 @@
|
||||
import ListEmptyComponent from "@/components/ListEmptyComponent";
|
||||
import PersonItem from "@/components/PersonItem";
|
||||
import { COLORS } from "@/constants/colors";
|
||||
import { Person } from "@/types/person";
|
||||
import React, { useEffect, useState } from "react";
|
||||
import {
|
||||
ActivityIndicator,
|
||||
Button,
|
||||
FlatList,
|
||||
RefreshControl,
|
||||
StyleSheet,
|
||||
TextInput,
|
||||
View,
|
||||
} from "react-native";
|
||||
|
||||
interface ApiResponse {
|
||||
results: Person[];
|
||||
next: string | null;
|
||||
result?: Person[];
|
||||
}
|
||||
const Page = () => {
|
||||
const [people, setPeople] = useState<Person[]>([]);
|
||||
const [refreshing, setRefreshing] = useState(false);
|
||||
const [loading, setLoading] = useState(true);
|
||||
const [searchQuery, setSearchQuery] = useState("");
|
||||
const [nextPage, setNextPage] = useState<string | null>(null);
|
||||
const [loadingMore, setLoadingMore] = useState(false);
|
||||
|
||||
const fetchPeople = async (query: string = "", url: string | null = null) => {
|
||||
setLoading(true);
|
||||
try {
|
||||
let apiUrl = url || `https://swapi.dev/api/people`;
|
||||
if (query) {
|
||||
apiUrl = `https://swapi.tech/api/people/?name=${query}`;
|
||||
}
|
||||
|
||||
const response = await fetch(apiUrl);
|
||||
const data: ApiResponse = await response.json();
|
||||
|
||||
if (query && data.result) {
|
||||
const transformedResults = data.result.map((item: any) => ({
|
||||
name: item.properties.name,
|
||||
birth_year: item.properties.birth_year,
|
||||
gender: item.properties.gender,
|
||||
url: item.properties.url,
|
||||
}));
|
||||
setPeople(transformedResults);
|
||||
} else {
|
||||
setPeople((prevPeople) =>
|
||||
url ? [...prevPeople, ...data.results] : data.results,
|
||||
);
|
||||
}
|
||||
setNextPage(data.next);
|
||||
} catch (error) {
|
||||
console.error("Error fetching people:", error);
|
||||
} finally {
|
||||
setRefreshing(false);
|
||||
setLoading(false);
|
||||
setLoadingMore(false);
|
||||
}
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
fetchPeople();
|
||||
}, []);
|
||||
|
||||
const onRefresh = () => {
|
||||
setRefreshing(true);
|
||||
fetchPeople(searchQuery);
|
||||
};
|
||||
|
||||
const handleSearch = () => {
|
||||
fetchPeople(searchQuery);
|
||||
};
|
||||
|
||||
const handleLoadMore = () => {
|
||||
if (nextPage && !loadingMore) {
|
||||
setLoadingMore(true);
|
||||
fetchPeople(searchQuery, nextPage);
|
||||
}
|
||||
};
|
||||
|
||||
const renderFooter = () => {
|
||||
if (!loadingMore) return null;
|
||||
return (
|
||||
<View style={styles.footerLoader}>
|
||||
<ActivityIndicator size="small" color="#FFE81F" />
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<View style={styles.searchContainer}>
|
||||
<TextInput
|
||||
style={styles.searchBar}
|
||||
placeholder="Search characters..."
|
||||
placeholderTextColor={COLORS.inactive}
|
||||
value={searchQuery}
|
||||
onChangeText={setSearchQuery}
|
||||
/>
|
||||
<Button title="Search" onPress={handleSearch} color={COLORS.text} />
|
||||
</View>
|
||||
<FlatList
|
||||
data={people}
|
||||
renderItem={({ item }) => <PersonItem item={item} />}
|
||||
keyExtractor={(item) => item.url}
|
||||
refreshControl={
|
||||
<RefreshControl
|
||||
refreshing={refreshing}
|
||||
onRefresh={onRefresh}
|
||||
tintColor={COLORS.text}
|
||||
/>
|
||||
}
|
||||
ListEmptyComponent={
|
||||
<ListEmptyComponent
|
||||
loading={loading}
|
||||
message={
|
||||
searchQuery
|
||||
? "No matching characters found"
|
||||
: "No characters found"
|
||||
}
|
||||
/>
|
||||
}
|
||||
onEndReached={handleLoadMore}
|
||||
onEndReachedThreshold={0.1}
|
||||
ListFooterComponent={renderFooter}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
export default Page;
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
backgroundColor: COLORS.containerBackground,
|
||||
},
|
||||
searchContainer: {
|
||||
flexDirection: "row",
|
||||
alignItems: "center",
|
||||
padding: 10,
|
||||
},
|
||||
searchBar: {
|
||||
flex: 1,
|
||||
backgroundColor: COLORS.itemBackground,
|
||||
color: COLORS.text,
|
||||
padding: 10,
|
||||
marginRight: 10,
|
||||
borderRadius: 5,
|
||||
fontSize: 16,
|
||||
},
|
||||
footerLoader: {
|
||||
alignItems: "center",
|
||||
paddingVertical: 20,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user