1
0

feat: use withDefaults for ProgressBar

This commit is contained in:
Dominik Pschenitschni
2024-07-06 13:32:07 +02:00
committed by konrad
parent f586e51aad
commit 2f6338484b

View File

@ -13,19 +13,13 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
defineProps({ withDefaults(defineProps<{
value: { value: number
type: Number, isSmall?: boolean
required: true, isPrimary?: boolean
}, }>(), {
isSmall: { isSmall: false,
type: Boolean, isPrimary: false,
default: false,
},
isPrimary: {
type: Boolean,
required: false,
},
}) })
</script> </script>