You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> No images found! Can't build the thumb list without images. If you don't need thumbs, set showThumbs={false} in the Carousel. Note that it's not possible to get images rendered inside custom components.
5
+
6
+
Carousel will find the thumbs if they are rendered as direct children of the carousel or if they are inside a div or another normal html element in a way that it's possible to access the children of these elements from the carousel.
7
+
8
+
For performance reasons, it's not possible to get images inside custom components.
console.warn(`No images found! Can't build the thumb list without images. If you don't need thumbs, set showThumbs={false} in the Carousel. Note that it's not possible to get images rendered inside custom components. More info at https://github.com/leandrowd/react-responsive-carousel/blob/master/TROUBLESHOOTING.md`);
123
+
124
+
returnnull;
125
+
}
126
+
127
+
returnimages;
128
+
}
129
+
118
130
setMountState=()=>{
119
131
this.setState({hasMount: true});
120
132
this.updateSizes();
@@ -219,31 +231,32 @@ class Thumbs extends Component {
0 commit comments