Displaying custom sources like: Vimeo videos, Google maps, text fields, whatever you want.
Lightbox now detect changing fullscreen via F11 key.
Removed dev package from dependencies
Added new prop openOnMount. If set to true lightbox will open on mount.
Initial value of toggler prop no longer decides about opening lightbox on mount.
Added new prop type with which you can declare type of all sources at once.
Added new prop source which works same as slide prop,
but instead of taking slide takes source.
Added new prop sourceIndex which works same as slide prop,
but instead of taking slide takes source index.
Changed functionality of urls prop to sources prop,
urls prop is now deprecated.
Added new prop - types - it's an array with which you can declare urls types manually.
It solves problem with automatic type detection of urls without CORS enabled.
Fixed storing sources types in local storage for IE
Improved source type detecting - once url type is detected it will be stored in local storage.
Can be disabled via props.
Update slide buttons svg's
Introducing React Fullscreen Lightbox!
[Development] working version - basic usage available
Get connected wth us on social networks!