このリポジトリは2023-09-09にアーカイブされています。 ファイルの閲覧とクローンは可能ですが、プッシュ、イシューの作成、プルリクエストはできません。
2021-12-24 12:03:55 +09:00
|
|
|
import React, { useState } from 'react';
|
|
|
|
import {
|
2021-12-24 14:44:21 +09:00
|
|
|
Dialog,
|
|
|
|
DialogContent,
|
|
|
|
DialogContentText
|
2021-12-24 12:03:55 +09:00
|
|
|
} from '@mui/material';
|
2021-12-24 14:44:21 +09:00
|
|
|
import LinearProgress from '@mui/material/LinearProgress';
|
2021-12-24 12:03:55 +09:00
|
|
|
|
|
|
|
|
|
|
|
export default function UploadingProgress({ show }){
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Dialog
|
|
|
|
open={show}
|
|
|
|
keepMounted
|
|
|
|
aria-describedby="alert-dialog-slide-description"
|
|
|
|
>
|
2021-12-24 14:44:47 +09:00
|
|
|
<DialogContent style={{padding:'35px 10px'}}>
|
2021-12-24 14:44:21 +09:00
|
|
|
<DialogContentText id="alert-dialog-slide-description" className="text-center">
|
|
|
|
<span className="ft-16 text-black" style={{ whiteSpace: 'pre-wrap' }}>{'アップロード中です。\nしばらくお待ちください。'}</span>
|
|
|
|
</DialogContentText>
|
|
|
|
<LinearProgress
|
|
|
|
color="inherit"
|
|
|
|
sx={{
|
|
|
|
margin:'15px 30px 0',
|
|
|
|
animationDuration: '300ms'
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
</DialogContent>
|
2021-12-24 12:03:55 +09:00
|
|
|
</Dialog>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|