web-flasher-ng/components/FlashProgress.vue

18 lines
309 B
Vue
Raw Permalink Normal View History

2024-12-07 18:18:19 +00:00
<script setup lang="ts">
defineProps<{
progress: number;
}>();
</script>
2024-12-07 16:48:13 +00:00
<template>
<div class="w-full">
<progress
class="progress progress-primary w-full"
:value="progress"
max="100"
></progress>
<div class="text-center mt-2">{{ progress }}%</div>
</div>
</template>