17 lines
309 B
Vue
17 lines
309 B
Vue
<script setup lang="ts">
|
|
defineProps<{
|
|
progress: number;
|
|
}>();
|
|
</script>
|
|
|
|
<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>
|
|
|