Installation
Package manager (only for basic version)
You can install lightbox using your favorite package manager:
$ npm install fslightbox-react
# or
$ yarn add fslightbox-react
# or
$ yarn add fslightbox-react
Tarball
Download .tgz archive from download page . Put it somewhere in your project for example: ./src/lib Then run package manager install command with path to that archive. You need to be in directory where your project package.json file is.
$ npm install ./src/lib/[lightbox archive name]
# or
$ yarn add ./src/lib/[lightbox archive name]
# or
$ yarn add ./src/lib/[lightbox archive name]
Example:
$ npm install ./src/lib/fslightbox-react-basic-1.0.0.tgz
# or
$ yarn add ./src/lib/fslightbox-react-basic-1.0.0.tgz
# or
$ yarn add ./src/lib/fslightbox-react-basic-1.0.0.tgz