akveo / react-native-ui-kitten

:boom: React Native UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/react-native-ui-kitten/
MIT License
10.3k stars 952 forks source link

Button: unsupported configuration. #1732

Closed renatomserra closed 1 year ago

renatomserra commented 1 year ago

🐛 Bug Report

I keep getting this error suddenly on button and input

Button: unsupported configuration.
Check one of the following prop values: {
  "appearance": "filled",
  "variants": [
    "primary"
  ],
  "states": []
}
"@ui-kitten/components": "5.1.2",
"@ui-kitten/eva-icons": "5.1.2",
"@ui-kitten/metro-config": "5.1.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-native": "0.68.2",

I've tried clearing all caches and re-installing all libs but still getting this warning

greenfrvr commented 1 year ago

Could you please share code snippet with ApplicationProvider? And probably JSX with the place where you're using Button component?

bataevvlad commented 1 year ago

@RenatoSerra22 Hello there!

You can use our docs for creation of customized mappings here the link