From 599e785969ef4143451bb3b99acc891ad9dce743 Mon Sep 17 00:00:00 2001 From: Arthi-chaud Date: Thu, 6 Oct 2022 20:06:49 +0100 Subject: [PATCH] Front: Add Theme Provider at root of app --- front/App.tsx | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/front/App.tsx b/front/App.tsx index 9921778..d6dda24 100644 --- a/front/App.tsx +++ b/front/App.tsx @@ -1,4 +1,3 @@ -import { Provider as PaperProvider } from 'react-native-paper'; import Theme from './Theme'; import React from 'react'; import { QueryClient, QueryClientProvider } from 'react-query'; @@ -6,16 +5,18 @@ import { Provider } from 'react-redux'; import store from './state/Store'; import { Router } from './Navigation'; import './i18n/i18n'; +import { NativeBaseProvider, extendTheme } from "native-base"; + const queryClient = new QueryClient(); export default function App() { - return ( - - - - - - - - ); + return ( + + + + + + + + ); }