UNPKG

matrix-react-sdk

Version:
31 lines (30 loc) 812 B
import React from "react"; interface IProps { roomId: string; } interface IState { originalDisplayName: string; displayName: string; originalAvatarUrl: string | null; avatarFile: File | null; avatarRemovalPending: boolean; originalTopic: string; topic: string; profileFieldsTouched: Record<string, boolean>; canSetName: boolean; canSetTopic: boolean; canSetAvatar: boolean; } export default class RoomProfileSettings extends React.Component<IProps, IState> { private avatarUpload; constructor(props: IProps); private onAvatarChanged; private removeAvatar; private isSaveEnabled; private cancelProfileChanges; private saveProfile; private onDisplayNameChanged; private onTopicChanged; render(): React.ReactNode; } export {};