mbrevda / react-image

React.js <img> tag rendering with multiple fallback & loader support
MIT License
1.2k stars 88 forks source link

Is supported the srcSet attribute for responsive images - with downgrade.. #969

Closed mikethejet closed 2 years ago

mikethejet commented 2 years ago

Supporting the src set attribute the fallback for images? How to use it?

<Img src={['https://www.example.com/foo.jpg', 'https://www.example.com/bar.jpg']} />

<Img srcset= ?? />

mbrevda commented 2 years ago

No, srcSet is not supported. Not sure it makes sense for a library like this