How to use the react-image-gallery.propTypes function in react-image-gallery

To help you get started, we’ve selected a few react-image-gallery examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github inaturalist / inaturalist / app / webpack / observations / identify / components / zoomable_image_gallery.jsx View on Github external
this.$link.removeClass( "easyzoom-zoomed" );
      },
      loadingNotice: I18n.t( "loading" )
    } );
  }

  slideToSlideIndex( ) {
    if (
      _.isInteger( this.props.slideIndex )
    ) {
      this.slideToIndex( this.props.slideIndex );
    }
  }
}

ZoomableImageGallery.propTypes = Object.assign( { }, ImageGallery.propTypes, {
  slideIndex: PropTypes.number
} );

export default ZoomableImageGallery;

react-image-gallery

React carousel image gallery component with thumbnail and mobile support

MIT
Latest version published 1 year ago

Package Health Score

69 / 100
Full package analysis

Popular react-image-gallery functions