I'm submitting a ... (check one with "x")
Current behavior:
Spinner fails to render with:
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s%s, undefined, You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Expected behavior:
The Spinner would render.
Steps to reproduce:
I'm just adding the spinner to the code and it doesn't work. Removing the spinner makes the component render
Related code:
import { Text, List, withStyles, Spinner } from 'react-native-ui-kitten'
//...
function Stations({stations, loading, error, themedStyle}) {
return (
<SafeAreaView>
<View style={{...themedStyle.container, ...themedStyle.containerBlankState }}>
<Spinner />
<Text category="h4">Carregando os dados das suas esta莽玫es</Text>
</View>
</SafeAreaView>
)
}
I'm running eva-design.eva ^1.1.0-beta.1
"@eva-design/eva": "^1.1.0-beta.1",
"react-native-ui-kitten": "^4.1.1",
OS, device, package version
Running on IPhone XR 12.1 Simulator
Hi! Please upgrade UI Kitten to beta, since it鈥檚 not available in this version
npm i react-native-ui-kitten@beta
Thanks, it works like a charm.
Most helpful comment
Hi! Please upgrade UI Kitten to beta, since it鈥檚 not available in this version