Add success dialog after key backup (#10177)

This commit is contained in:
Michael Weimann 2023-02-17 13:35:13 +01:00 committed by GitHub
parent a854e941cc
commit 9b267e7bc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 144 additions and 2 deletions

View file

@ -24,6 +24,7 @@ import BaseDialog from "./BaseDialog";
import DialogButtons from "../elements/DialogButtons";
interface IProps extends IDialogProps {
top?: ReactNode;
title?: string;
description?: ReactNode;
className?: string;
@ -49,6 +50,7 @@ export default class InfoDialog extends React.Component<IProps> {
<BaseDialog
className="mx_InfoDialog"
onFinished={this.props.onFinished}
top={this.props.top}
title={this.props.title}
contentId="mx_Dialog_content"
hasCancel={this.props.hasCloseButton}