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,26 @@
|
||||
<script lang="ts">
|
||||
import type { LiveFileUploadState } from "#lib/client/transfer/index.ts";
|
||||
import { UploadStatusText } from "#lib/features/transfer/components/index.ts";
|
||||
|
||||
import IconDraft from "~icons/material-symbols/draft";
|
||||
|
||||
interface Props {
|
||||
state: LiveFileUploadState;
|
||||
}
|
||||
|
||||
let { state }: Props = $props();
|
||||
</script>
|
||||
|
||||
<div class="flex h-14 gap-x-4 p-2">
|
||||
<div class="flex size-10 shrink-0 items-center justify-center text-xl">
|
||||
<IconDraft class="text-gray-600" />
|
||||
</div>
|
||||
<div class="flex grow flex-col overflow-hidden text-gray-800">
|
||||
<p title={state.name} class="truncate font-medium">
|
||||
{state.name}
|
||||
</p>
|
||||
<p class="text-xs">
|
||||
<UploadStatusText {state} />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
Reference in new issue
Block a user