<script setup lang="ts">
import { type AccountHistoryValueRecordItem } from '@/api/account'
import { formatMoney } from '@/api/data'
import AppBadge from '../common/AppBadge.vue'

defineProps<{ item: AccountHistoryValueRecordItem; accountId: number }>()
</script>
<template>
  <div>
    Value recorded as
    <AppBadge class="font-mono">{{ formatMoney(item.value, item.currency) }} </AppBadge>
  </div>
</template>
