Fix ResizeMethod usage

This commit is contained in:
Travis Ralston 2021-03-08 17:03:14 -07:00
parent 533c9fed64
commit 2a40bc87cc
5 changed files with 11 additions and 26 deletions

View file

@ -18,7 +18,7 @@ import React from 'react';
import BaseAvatar from './BaseAvatar';
import {replaceableComponent} from "../../../utils/replaceableComponent";
import {mediaFromMxc} from "../../../customisations/Media";
import {ResizeMode} from "../../../customisations/models/ResizeMode";
import {ResizeMethod} from "../../../Avatar";
export interface IProps {
groupId?: string;
@ -26,7 +26,7 @@ export interface IProps {
groupAvatarUrl?: string;
width?: number;
height?: number;
resizeMethod?: ResizeMode;
resizeMethod?: ResizeMethod;
onClick?: React.MouseEventHandler;
}