<script setup>
import getCurrencySymbol from "currency-symbols";

defineProps({
  money: {
    type: [Number, String],
    default: 0,
  },
  currency: {
    type: String,
    default: "TRY",
  },
});
</script>
<template>
  <div>
    {{
      vueNumberFormat(parseFloat(money), {
        suffix: getCurrencySymbol(currency),
      })
    }}
  </div>
</template>
