Fullscreen Lightbox Javascript Fullscreen Lightbox ,React Fullscreen Lightbox Vue

React Lightbox Documentation

Learn how to use React version of Fullscreen Lightbox!


You can manually set source type using special props. It disables automatic type detection so if you are facing CORS issue it will fix that. Types names are:


types - array with strings which declares types of specific sources
type - string which declares type for all sources

sources={['first-source', 'second-source', 'third-source']}
types={[null, null, 'video']}

In above example we've set image type globally, but overwritten it with video for the third source. So finally types are: image, image, video

Get connected wth us on social networks!