import React from 'react'; import { NavigationContainer } from '@react-navigation/native'; import { createNativeStackNavigator } from '@react-navigation/native-stack'; import MainScreen from './src/screens/MainScreen'; import { Card } from './src/types'; import CardEditScreen from './src/screens/CardEditScreen'; import { QueryClient, QueryClientProvider } from 'react-query'; export type RootStackParams = { Main: undefined; Add: undefined; Edit: { card: Card; index: number }; }; const queryClient = new QueryClient(); const Stack = createNativeStackNavigator(); const App = () => { return ( ); }; export default App;