开发者

Is there a way to lazyload the image in CardMedia component in material ui?

I am trying to lazy load the image in the CardMedia component. Is there an attribute i can use or any other way to incorporate the lazy loading of the image in the component.

<CardMedia
    key={cardInd开发者_如何转开发ex}
    component="img"
    style={{objectFit: 'contain', height: props.height}}
    image={(cardItem)}
 />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜