mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-11-04 08:10:28 +09:00
사소한 리팩토링
This commit is contained in:
1 parent
d986493431
commit
48bf9c1165
62 files changed
+31
-39
No files matched your search
@@ -0,0 +1,19 @@
|
||||
<script lang="ts">
|
||||
import { isFileDownloading, type FileDownloadState } from "#lib/client/transfer/index.ts";
|
||||
import { TransferProgress } from "#lib/features/transfer/components/index.ts";
|
||||
|
||||
interface Props {
|
||||
state: FileDownloadState;
|
||||
}
|
||||
|
||||
let { state }: Props = $props();
|
||||
</script>
|
||||
|
||||
{#if isFileDownloading(state.status)}
|
||||
<div class="w-full rounded-xl bg-gray-100 p-3">
|
||||
<p class="font-medium">다운로드하는 중</p>
|
||||
<p class="text-xs">
|
||||
<TransferProgress progress={state.progress} rate={state.rate} />
|
||||
</p>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in new issue
Block a user