Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import * as React from 'react';
- import { ApplicationProvider } from 'react-native-ui-kitten';
- import { mapping, light as lightTheme } from '@eva-design/eva';
- import { default as customMapping } from './path-to/custom-mapping.json'; // <-- import custom mapping
- const App = () => (
- <ApplicationProvider
- mapping={mapping}
- customMapping={customMapping} // <-- apply custom mapping
- theme={lightTheme}>
- </ApplicationProvider>
- );
- export default App;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement