bodunadebiyi / react-magnific-popup

8 stars 18 forks source link

No react documentation & no clear way how to use it #4

Open OZZlE opened 6 years ago

OZZlE commented 6 years ago

Using version 1.0.1 simply trying to import something

import Popup from 'react-magnific-popup';
// or
import LightBoxGallery from 'react-magnific-popup';
// or 
import { MagnificPopup } from 'react-magnific-popup'
// or 
import MagnificPopup from 'react-magnific-popup'

all just leads to

SingleImage.js:59 Uncaught TypeError: Cannot read property 'object' of undefined
at Object.defineProperty.value (SingleImage.js:59)
at __webpack_require__ (bootstrap 65a4216028fe742cd648:19)
at Object.defineProperty.value (ReactMagnificPopup.js:7)
at __webpack_require__ (bootstrap 65a4216028fe742cd648:19)

Using React v.16.3.0 & webpack 3.11.0

botv commented 5 years ago

I'm having the same issue.

SaffaMeer commented 3 years ago

https://bodunadebiyi.github.io/react-magnific-popup/