Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 0 additions & 2 deletions .bundle/config

This file was deleted.

4 changes: 0 additions & 4 deletions .eslintrc.js

This file was deleted.

8 changes: 8 additions & 0 deletions .expo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
> Why do I have a folder named ".expo" in my project?
The ".expo" folder is created when an Expo project is started using "expo start" command.
> What do the files contain?
- "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
- "settings.json": contains the server configuration that is used to serve the application manifest.
> Should I commit the ".expo" folder?
No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
Upon project creation, the ".expo" folder is already added to your ".gitignore" file.
3 changes: 3 additions & 0 deletions .expo/devices.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"devices": []
}
14 changes: 14 additions & 0 deletions .expo/types/router.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/* eslint-disable */
import * as Router from 'expo-router';

export * from 'expo-router';

declare module 'expo-router' {
export namespace ExpoRouter {
export interface __routes<T extends string | object = string> {
hrefInputParams: { pathname: Router.RelativePathString, params?: Router.UnknownInputParams } | { pathname: Router.ExternalPathString, params?: Router.UnknownInputParams };
hrefOutputParams: { pathname: Router.RelativePathString, params?: Router.UnknownOutputParams } | { pathname: Router.ExternalPathString, params?: Router.UnknownOutputParams };
href: Router.RelativePathString | Router.ExternalPathString | { pathname: Router.RelativePathString, params?: Router.UnknownInputParams } | { pathname: Router.ExternalPathString, params?: Router.UnknownInputParams };
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,9 @@ yarn-error.log

# testing
/coverage

# @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb
# The following patterns were generated by expo-cli

expo-env.d.ts
# @end expo-cli
1 change: 0 additions & 1 deletion .watchmanconfig

This file was deleted.

125 changes: 125 additions & 0 deletions App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
* @flow strict-local
*/

import {
DarkTheme,
DefaultTheme,
NavigationContainer,
} from '@react-navigation/native';
import {CardStyleInterpolators} from '@react-navigation/stack';
import React from 'react';
import {Platform, StatusBar, useColorScheme} from 'react-native';
import AnimTab1 from './src/bottomTab/AnimTab1';
import AnimTab2 from './src/bottomTab/AnimTab2';
import AnimTab3 from './src/bottomTab/AnimTab3';
import Home from './src/screens/Home';
import Tab4 from './src/bottomTab/Tab4';
import Tab5 from './src/bottomTab/Tab5';
import Colors from './src/constants/Colors';
import ContactList from './src/screens/ContactList';
import ListScreen from './src/screens/ListScreen';
import {
Provider,
MD2DarkTheme,
DefaultTheme as PaperDefaultTheme,
} from 'react-native-paper';
import Screen from './src/screens/Screen';
import ProductsList from './src/screens/shop/ProductsList';
import DetailsScreen from './src/screens/shop/DetailsScreen';
import {createSharedElementStackNavigator} from 'react-navigation-shared-element';
import Fab from './src/screens/fab/Fab';
import DrawerNav1 from './src/screens/drawer/drawer1/DrawerNav1';
import HeaderAnim1 from './src/screens/animHeaders/HeaderAnim1';
import HeaderAnim2 from './src/screens/animHeaders/HeaderAnim2';
import HeaderAnim3 from './src/screens/animHeaders/HeaderAnim3';

const App = () => {
const isDarkMode = useColorScheme() === 'dark';

const backgroundStyle = {
flex: 1,
backgroundColor: isDarkMode ? Colors.black : Colors.white,
};

return (
<Provider theme={isDarkMode ? MD2DarkTheme : PaperDefaultTheme}>
<StatusBar
barStyle={isDarkMode ? 'light-content' : 'dark-content'}
backgroundColor={backgroundStyle.backgroundColor}
/>
<NavigationContainer theme={isDarkMode ? DarkTheme : DefaultTheme}>
<RootStack />
</NavigationContainer>
</Provider>
);
};

const options = {
gestureEnabled: true,
gestureDirection: 'horizontal',
cardStyleInterpolator: CardStyleInterpolators.forHorizontalIOS,
headerShown: false,
};

const Stack = createSharedElementStackNavigator();

const RootStack = () => {
return (
<Stack.Navigator screenOptions={options}>
<Stack.Screen
name="Home"
component={Home}
options={{title: 'React-Native Ui', headerShown: true}}
/>
<Stack.Screen name="Tab1" component={AnimTab1} />
<Stack.Screen name="Tab2" component={AnimTab2} />
<Stack.Screen name="Tab3" component={AnimTab3} />
<Stack.Screen name="Tab4" component={Tab4} />
<Stack.Screen name="Tab5" component={Tab5} />
<Stack.Screen name="Contacts" component={ContactList} />
<Stack.Screen name="List" component={ListScreen} />
<Stack.Screen name="Screen" component={Screen} />
<Stack.Screen name="Products" component={ProductsList} />
<Stack.Screen
name="Details"
component={DetailsScreen}
options={{
cardStyleInterpolator: CardStyleInterpolators.forVerticalIOS,
}}
/>
<Stack.Screen name="Fab" component={Fab} />
<Stack.Screen name="Drawer1" component={DrawerNav1} />

<Stack.Screen
name="HeaderAnim1"
component={HeaderAnim1}
options={{
gestureEnabled: Platform.OS === 'ios',
}}
/>
<Stack.Screen
name="HeaderAnim2"
component={HeaderAnim2}
options={
{
// gestureEnabled: false,
}
}
/>
<Stack.Screen
name="HeaderAnim3"
component={HeaderAnim3}
options={{
gestureEnabled: false,
}}
/>
</Stack.Navigator>
);
};

export default App;
118 changes: 0 additions & 118 deletions App.tsx

This file was deleted.

9 changes: 0 additions & 9 deletions Gemfile

This file was deleted.

Loading