Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
export const maxImageDimensions = {
  logo: {
    maxHeight: 100,
    maxWidth: 300,
  },
  background: {
    maxHeight: 1536,
    maxWidth: 2048,
  },
  avatar: {
    maxHeight: 1024,
    maxWidth: 1024,
  },
};

export const aspectRatio = {
  logo: 3 / 1,
  background: 4 / 3,
  avatar: 1,
};

export const zoomRange = {
  min: 0.2,
  max: 3,
  step: 0.05,
};

export const errorKeys = {
  fileSizeError: 'fileSizeError',
  readImageError: 'readImageError',
  cropImageError: 'cropImageError',
};