react-lazyload
react-lazyload copied to clipboard
Placeholder is not working.
If I set any placeholder it will not work.
Here is an example.
<LazyLoad
placeholder={<ReactLoading/>}
height={180}
>
<img
src={tile.src}
alt={tile.title}
onClick={() => props.onClick(imageIndex, tile.id)}
/>
</LazyLoad>
RectLoading returns <Skeleton variant="rect" width={210} height={118} />
from material-ui
I also try to add some text but nothing to show.
<LazyLoad
placeholder={<Typography variant="h1">Placeholder</Typography>}
height={180}
.... other code
can you please look at this issue