mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Member delimiter rules
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
5f49b2d374
commit
5d78eb4a75
@ -36,30 +36,30 @@ import { IProps as ImageViewIProps } from "../elements/ImageView";
|
|||||||
|
|
||||||
export interface IProps {
|
export interface IProps {
|
||||||
/* the MatrixEvent to show */
|
/* the MatrixEvent to show */
|
||||||
mxEvent: MatrixEvent,
|
mxEvent: MatrixEvent;
|
||||||
/* called when the image has loaded */
|
/* called when the image has loaded */
|
||||||
onHeightChanged(): void,
|
onHeightChanged(): void;
|
||||||
|
|
||||||
/* the maximum image height to use */
|
/* the maximum image height to use */
|
||||||
maxImageHeight?: number,
|
maxImageHeight?: number;
|
||||||
|
|
||||||
/* the permalinkCreator */
|
/* the permalinkCreator */
|
||||||
permalinkCreator?: RoomPermalinkCreator,
|
permalinkCreator?: RoomPermalinkCreator;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface IState {
|
interface IState {
|
||||||
decryptedUrl?: string,
|
decryptedUrl?: string;
|
||||||
decryptedThumbnailUrl?: string,
|
decryptedThumbnailUrl?: string;
|
||||||
decryptedBlob?: Blob,
|
decryptedBlob?: Blob;
|
||||||
error,
|
error;
|
||||||
imgError: boolean,
|
imgError: boolean;
|
||||||
imgLoaded: boolean,
|
imgLoaded: boolean;
|
||||||
loadedImageDimensions?: {
|
loadedImageDimensions?: {
|
||||||
naturalWidth: number;
|
naturalWidth: number;
|
||||||
naturalHeight: number;
|
naturalHeight: number;
|
||||||
},
|
};
|
||||||
hover: boolean,
|
hover: boolean;
|
||||||
showImage: boolean,
|
showImage: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
@replaceableComponent("views.messages.MImageBody")
|
@replaceableComponent("views.messages.MImageBody")
|
||||||
|
Loading…
Reference in New Issue
Block a user