Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Iter 1 #1

Open
wants to merge 27 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ web-build/
# The following patterns were generated by expo-cli

expo-env.d.ts
# @end expo-cli
# @end expo-cli

.vscode
37 changes: 0 additions & 37 deletions app-example/(tabs)/_layout.tsx

This file was deleted.

102 changes: 0 additions & 102 deletions app-example/(tabs)/explore.tsx

This file was deleted.

70 changes: 0 additions & 70 deletions app-example/(tabs)/index.tsx

This file was deleted.

39 changes: 0 additions & 39 deletions app-example/+html.tsx

This file was deleted.

32 changes: 0 additions & 32 deletions app-example/+not-found.tsx

This file was deleted.

37 changes: 0 additions & 37 deletions app-example/_layout.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Stack } from "expo-router";
export default function RootLayout() {
return (
<Stack>
<Stack.Screen name="index" />
<Stack.Screen name="index" options={{ title: "Countries of Earth" }} />
</Stack>
);
}
15 changes: 9 additions & 6 deletions app/index.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import { Text, View } from "react-native";
import React from "react";
import { SafeAreaView } from "react-native";
import CountrySearch from "@/screens/CountrySearch";
import CountrySearchOneShotUI from "@/screens/CountrySearchOneShotUI";
import CountrySearchOneShotData from "@/screens/CountrySearchOneShotData"; // task

export default function Index() {
return (
<View
<SafeAreaView
style={{
flex: 1,
justifyContent: "center",
alignItems: "center",
backgroundColor: "white",
}}
>
<Text>Edit app/index.tsx to edit this screen.</Text>
</View>
<CountrySearchOneShotData />
</SafeAreaView>
);
}
Loading