Add backup attachment restore idle state

This commit is contained in:
trevor-signal 2024-10-24 16:21:02 -04:00 committed by GitHub
parent 56ccd02232
commit 8601baa7f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 122 additions and 17 deletions

View file

@ -45,6 +45,14 @@ export function Paused(args: PropsType): JSX.Element {
return <BackupMediaDownloadProgress {...args} isPaused />;
}
export function Idle(args: PropsType): JSX.Element {
return <BackupMediaDownloadProgress {...args} isIdle />;
}
export function PausedAndIdle(args: PropsType): JSX.Element {
return <BackupMediaDownloadProgress {...args} isPaused isIdle />;
}
export function Complete(args: PropsType): JSX.Element {
return (
<BackupMediaDownloadProgress {...args} downloadedBytes={args.totalBytes} />