react-lazy-load icon indicating copy to clipboard operation
react-lazy-load copied to clipboard

Adding custom props for html elements

Open tekephillips opened this issue 6 years ago • 1 comments

I wanted to use LazyLoad as an anchor tag and realized there was no customProps object option to add any possible html attributes (href in my case). Please let me know if this is possible. Thanks

tekephillips avatar Feb 15 '18 22:02 tekephillips

Currently this isn't possible, you can only use a string for the element type.. but this is an interesting idea will probably implement it.

loktar00 avatar Aug 23 '22 02:08 loktar00