mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-13 06:30:29 +00:00
* Return 50x50 dimensions when height or width is 0 * Refactor image constants * Return null dimensions when height or width is falsy
6 lines
189 B
JavaScript
6 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;
|