banthagroup / fslightbox-react

Basic version of Fullscreen Lightbox for React.js. Website: https://fslightbox.com/react
MIT License
169 stars 23 forks source link

Do I need to load any CSS? #238

Open impactcolor opened 11 months ago

impactcolor commented 11 months ago

I'm following the example as provided in the documentation for a react build import FsLightbox from "fslightbox-react"; const previewImgModal = () => { return( <FsLightbox toggler={toggler} sources={[ <iframe src="https://player.vimeo.com/video/22439234" width="1920px" height="1080px" frameBorder="0" allow="autoplay; fullscreen" allowFullScreen />, <iframe src="//maps.google.com/maps?q=?&q=London&output=embed" width="1920px" height="1080px" allowFullScreen scrolling="no" allow="autoplay; fullscreen" />, ]} /> ) }

No error or anything it just doesn't load. "fslightbox-react": "^1.7.6", "react": "18.2.0",