I am working on react-native applying the application provider tag from ui-kitten and I receive in error undefined is not an object (evaluating 'Object.keys(params)'). Below is where the code is throwing the error. Any help on this would be appreciated.
CodePudding user response:
You're not passing any props to the ApplicationProvider
. Try the code provided in the getting started guide.
import * as eva from '@eva-design/eva';
import { ApplicationProvider } from '@ui-kitten/components';
...
export default () => (
<ApplicationProvider {...eva} theme={eva.light}>
...
);