Fslightbox
Installation
npm i fslightbox-react
Script
import FsLightbox from 'fslightbox-react';
const Fslightbox = () => {
return (
<Fragment>
<FsLightbox
toggler={imageController.toggler}
sources={[
"/images/img6.jpeg",
"/images/img1.jpeg",
"/images/img2.jpg",
"/images/img3.jpeg",
"/images/img4.jpeg",
"/images/img5.jpeg",
"/images/videos/video1.mp4"]}
/>
</Fragment>
)
}