Add reusable <Modal> component, use with <Alert>

This commit is contained in:
Evan Hahn 2021-04-13 09:20:02 -05:00 committed by GitHub
parent 9846fb8edf
commit 62f1a42c25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 276 additions and 55 deletions

View file

@ -1,4 +1,4 @@
// Copyright 2020 Signal Messenger, LLC
// Copyright 2020-2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import * as React from 'react';
@ -9,6 +9,7 @@ export type PropsType = {
readonly i18n: LocalizerType;
};
// TODO: This should use <Modal>. See DESKTOP-1038.
export const ProgressDialog = React.memo(({ i18n }: PropsType) => {
return (
<div className="module-progress-dialog">