UNPKG

matrix-react-sdk

Version:
20 lines (19 loc) 577 B
import React from 'react'; import { ResizeMethod } from "../../../Avatar"; interface IProps { name: string; idName?: string; title?: string; url?: string; urls?: string[]; width?: number; height?: number; resizeMethod?: ResizeMethod; defaultToInitialLetter?: boolean; onClick?: React.MouseEventHandler; inputRef?: React.RefObject<HTMLImageElement & HTMLSpanElement>; className?: string; } declare const BaseAvatar: (props: IProps) => JSX.Element; export default BaseAvatar; export declare type BaseAvatarType = React.FC<IProps>;