forked from Ivasoft/mattermost-mobile
* Support Markdown svg and custom size inline images * remove commonmark patches * move getMarkdownImageSize to @utils/markdown * Fix worklet not present while running unit tests that use calculateDimensions * Set max size for SVG * Set svg dimensions based on calculated size * feedback review
8 lines
176 B
TypeScript
8 lines
176 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
type SourceSize = {
|
|
height?: number;
|
|
width?: number;
|
|
}
|