How to use the @shoutem/ui.ImageGallery.IMAGE_GALLERY_MODE function in @shoutem/ui

To help you get started, we’ve selected a few @shoutem/ui 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 shoutem / extensions / shoutem.photos / app / screens / PhotoDetailsScreen.js View on Github external
constructor(props) {
    super(props);
    this.onIndexSelected = this.onIndexSelected.bind(this);
    this.onImageGalleryModeChange = this.onImageGalleryModeChange.bind(this);
    this.onBackButton = this.onBackButton.bind(this);
    this.getNavbarProps = this.getNavbarProps.bind(this);

    this.state = {
      mode: ImageGallery.IMAGE_GALLERY_MODE,
      selectedPhotoIndex: 0,
      shouldRenderGallery: false,
    };
  }
github shoutem / extensions / shoutem.rss-photos / app / screens / PhotoDetails.js View on Github external
constructor(props) {
    super(props);

    this.onIndexSelected = this.onIndexSelected.bind(this);
    this.onImageGalleryModeChange = this.onImageGalleryModeChange.bind(this);
    this.onBackButton = this.onBackButton.bind(this);
    this.getNavbarProps = this.getNavbarProps.bind(this);

    this.state = {
      mode: ImageGallery.IMAGE_GALLERY_MODE,
      selectedPhotoIndex: 0,
      shouldRenderGallery: false,
    };
  }
github shoutem / extensions / shoutem-rss-photos / app / screens / PhotoDetails.js View on Github external
constructor(props) {
    super(props);
    this.onIndexSelected = this.onIndexSelected.bind(this);
    this.onImageGalleryModeChange = this.onImageGalleryModeChange.bind(this);
    this.onBackButton = this.onBackButton.bind(this);
    this.getNavbarProps = this.getNavbarProps.bind(this);

    this.state = {
      mode: ImageGallery.IMAGE_GALLERY_MODE,
      selectedPhotoIndex: 0,
      shouldRenderGallery: false,
    };
  }
github shoutem / extensions / shoutem-photos / app / screens / PhotoDetails.js View on Github external
constructor(props) {
    super(props);
    this.onIndexSelected = this.onIndexSelected.bind(this);
    this.onImageGalleryModeChange = this.onImageGalleryModeChange.bind(this);
    this.onBackButton = this.onBackButton.bind(this);
    this.getNavbarProps = this.getNavbarProps.bind(this);

    this.state = {
      mode: ImageGallery.IMAGE_GALLERY_MODE,
      selectedPhotoIndex: 0,
      shouldRenderGallery: false,
    };
  }