Closed skryl closed 5 years ago
https://github.com/eva-design/eva/blob/master/packages/eva/index.ts
export const mapping = require('./mapping.json');
export const light = require('./themes/light.json');
export const dark = require('./themes/dark.json');
Seems like eva only exports light
and dark
, using theme causes an obscure error deep down in styleConsumer.
Thanks for report @skryl
Yes. With Eva you can now use light
and dark
themes with following code:
import { mapping, light as theme } from '@eva-design/eva';
or to use Dark Theme
import { mapping, dark as theme } from '@eva-design/eva';
Looks like, it should be fixed everywhere
https://akveo.github.io/react-native-ui-kitten/docs/guides/add-into-existing-project
Configure Application Root
should actually be