* Return 50x50 dimensions when height or width is 0 * Refactor image constants * Return null dimensions when height or width is falsy
5 lines
189 B
JavaScript
5 lines
189 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export const IMAGE_MAX_HEIGHT = 350;
|
|
export const IMAGE_MIN_DIMENSION = 50;
|