Closed dj-ds closed 4 years ago
Is this already fixed?
just restart server and re run npx react-native run-android
again to fix this
I have a similar error. Only, it appears when I try to run debug for the web platform
upd. It seems that the reason is that the compiler does not correctly perceive this format of the component definition. There's no mistake:
export default function Indicator({
itemCount,
currentIndex,
indicatorStyle,
indicatorContainerStyle,
indicatorActiveColor,
indicatorInActiveColor,
indicatorActiveWidth = 6,
}) {
return (
...
Facing this when Installed the library and imported