leecade / react-native-swiper

The best Swiper component for React Native.
MIT License
10.43k stars 2.34k forks source link

Warning: Failed prop type: The prop `children` is marked as required in `_default`, but its value is `undefined`. #1367

Open abbasbphppoets opened 10 months ago

abbasbphppoets commented 10 months ago

android

i am facing waring when apply swiper

<Swiper automaticallyAdjustCotentInsets showsButtons={false} autoplay={true} autoplayTimeout={3} activeDotColor={COLORS.gray} dotColor={COLORS.gray} dotStyle={style.dotStyle} style={[style.slide2, {...slideStyle}]} activeDotStyle={[ style.dotStyle, { backgroundColor: COLORS.red, }, ]}> {imageData?.map((x, i) => { return (

} />
    );
  })}
</Swiper>

below are my code they give warning related childern

mubarizgh commented 4 months ago

did you find any solution?