Pass attributes to the image other than src, alt and onClick
Opened this issue · 0 comments
Mahmoud-farargy commented
A simple solution to this is to spread props to the img tag like this "<img {..props} />"
Opened this issue · 0 comments
A simple solution to this is to spread props to the img tag like this "<img {..props} />"