This repository has been archived by the owner on Jan 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrated away from style-loader
This library no longer uses style-loader to add the necessary style for the lightbox. You will instead need to load it as shown in the README. This was done to allow for easier style customization, as well as streamline usage in server-side rendered apps. BREAKING CHANGE: you must you must import the css for the component yourself, using `import 'react-image-lightbox/style.css';`. You only need to do this once in your application. BREAKING CHANGE: Versions of IE earlier than IE 11 are no longer supported.
- Loading branch information
Showing
13 changed files
with
2,891 additions
and
3,904 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,5 @@ npm-debug.log | |
# Build directories (Will be preserved by npm) | ||
dist | ||
build | ||
/style.css | ||
/style.css.map |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.