twobin / twobin/react-lazyload
How to show image as placeholder
- Dominant language
- JavaScript
- Stars
- 5.9k
- Forks
- 485
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to just an image as a placeholder, but instead of showing my image, it just shows a bunch of characters (the data of the image, maybe?) Do you have some sample code I can use cause I'm not doing this right. I also tried to access the image directly, which also didn't work.

I have this code
`import LazyLoad from 'react-lazyload';`
`import LazyImg from "../../assets/img/lazyload.png";`
I am trying to lazy load a card image
`
`
``
``
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.