Added Notifications
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue'
|
||||
|
||||
const props = defineProps<{
|
||||
value: number
|
||||
}>()
|
||||
|
||||
|
||||
const formatted = computed(() =>
|
||||
new Intl.NumberFormat(undefined, { maximumFractionDigits: 0 }).format(props.value)
|
||||
)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
{{ formatted }}
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user