Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
abbasbphppoets opened this issue Jan 30, 2024 · 1 comment

Comments

@abbasbphppoets
Copy link

android

  • react-native-swiper v 1.6.0?
  • react-native v 0.73.1

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 (

<Image
key={i}
resizeMode={resizeMode}
containerStyle={[style.wrap, {...wrapStyle}]}
source={{uri: imageURL(x?.banner_image)}}
PlaceholderContent={
<Image
key={i}
source={require('../../assets/img/placeholder_rectangle.png')}
style={[style.wrap, {...wrapStyle}]}
/>
}
/>

);
})}

below are my code
they give warning related childern

@mubarizgh
Copy link

did you find any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants