<script setup>
import { ref } from "vue";
const props = defineProps({
  title: {
    type: String,
    default: ""
  },
  value: {}
});
const localValue = ref(props.value);
if (typeof props.value === "number") {
  localValue.value = props.value.toLocaleString();
}
</script>

<template>
    <div class="q-pa-sm">
        <div class="row">
            {{ title }}
        </div>
        <div class="text-h5 row">
            {{ localValue }}
        </div>

    </div>
</template>
