Error useTheme must be used within NativeBaseConfigProvider,uncaught error usetheme must be used within native base configprovider,error usetheme must be used within native base config provider, error usetheme must be used within nativebaseconfigprovider

Error useTheme must be used within NativeBaseConfigProvider

Error useTheme must be used within NativeBaseConfigProvider

You need to wrap your components inside NativeBaseProvider like below. Import NativeBaseProvider from the native base in your app.js

import { NativeBaseProvider } from 'native-base';

return (
   
      {Your components}
   
);

Error useTheme must be used within NativeBaseConfigProvider,uncaught error usetheme must be used within native base configprovider,error usetheme must be used within native base config provider, error usetheme must be used within nativebaseconfigprovider

Post Created 99

Leave a Reply

Related Posts

Begin typing your search above and press enter to search. Press ESC to cancel.

Back To Top