Repository URL to install this package:
|
Version:
8.1.0-rc.5 ▾
|
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',
};