add nova
This commit is contained in:
16
nova/resources/js/components/ProgressBar.vue
Normal file
16
nova/resources/js/components/ProgressBar.vue
Normal file
@@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<div
|
||||
class="bg-gray-200 dark:bg-gray-900 w-full overflow-hidden h-4 flex rounded-full"
|
||||
:title="title"
|
||||
>
|
||||
<div :class="color" :style="`width:${value}%`" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
title: { type: String, required: true },
|
||||
color: { type: String, required: true },
|
||||
value: { type: [String, Number], required: true },
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user