Skip to content

Commit

Permalink
consolidates element styles
Browse files Browse the repository at this point in the history
  • Loading branch information
jomurgel committed Sep 5, 2024
1 parent 3870dc1 commit 0bf66ef
Show file tree
Hide file tree
Showing 20 changed files with 1,029 additions and 413 deletions.
2 changes: 0 additions & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ function config( api ) {
presets: [
'babel-preset-expo',
'@babel/preset-typescript',
'@babel/preset-env',
'@babel/preset-react',
],
}
}
Expand Down
23 changes: 0 additions & 23 deletions components/Todo.tsx

This file was deleted.

245 changes: 245 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@babel/core": "^7.20.0",
"@babel/preset-typescript": "^7.24.7",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react": "^16.0.1",
"@testing-library/react-native": "^12.6.1",
"@types/jest": "^29.5.12",
"@types/react": "~18.2.45",
Expand Down
20 changes: 13 additions & 7 deletions src/components/AppStack.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import MainScreen from '../screens/Main';
import SettingsScreen from '../screens/Settings';
import { createStackNavigator } from '@react-navigation/stack';
import { RootStackParamList } from '../../App';
import { createStackNavigator } from '@react-navigation/stack'
import MainScreen from '../screens/Main'
import SettingsScreen from '../screens/Settings'
import { RootStackParamList } from '../types/todos'
import ListScreen from '../screens/Lists'

const Stack = createStackNavigator<RootStackParamList>();
const Stack = createStackNavigator<RootStackParamList>()

const AppStack = () => {
function AppStack() {
return (
<Stack.Navigator initialRouteName="Main">
<Stack.Screen
Expand All @@ -18,7 +19,12 @@ const AppStack = () => {
name="Settings"
component={SettingsScreen}
/>
<Stack.Screen
options={{ headerShown: false }}
name="List"
component={ListScreen}
/>
</Stack.Navigator>
)
}
export default AppStack;
export default AppStack
Loading

0 comments on commit 0bf66ef

Please sign in to comment.