2

Not able to access onOpen and onAfterOpen, onAfterClose properties. also not able to find document for properties of Lightbox.

<Lightbox
  id="restaurant_lightbox_popup"
  backdropClosesModal={true}
  images={
    this.state.viewMenu
      ? this.getRestaurantMenuPopup()
      : this.getRestaurantImagesPopup()
  }
  isOpen={this.state.lightboxIsOpen}
  onClickPrev={() => {}}
  onClickNext={() => {}}
  onClose={() => {}}
  onAfterClose={() => console.log("onopen")}
  currentImage={this.state.currentImage}
  imageCountSeparator="/"
  className="test"
/>
Orlyyn
  • 2,296
  • 2
  • 20
  • 32
ila
  • 21
  • 3

0 Answers0