If you pass in an array of 1 image, you will get a black ImageSlider which I think is its "failed to render display".
If you pass in an array of 2 or more images, you get a properly rendered ImageSlider.
It would be preferable if the slider could handle a single image rather than having to special case single images and deal with the layout differences between <ImageSlider> and <Image>.
If you pass in an array of 1 image, you will get a black ImageSlider which I think is its "failed to render display".
If you pass in an array of 2 or more images, you get a properly rendered ImageSlider.
It would be preferable if the slider could handle a single image rather than having to special case single images and deal with the layout differences between
<ImageSlider>
and<Image>
.My environment: react@16.11.0 react-native@0.62.0