transaction list display

This commit is contained in:
Sirttas
2026-05-31 23:10:50 +02:00
parent 47ee14319d
commit 3235cf21ba
11 changed files with 126 additions and 18 deletions
+13
View File
@@ -0,0 +1,13 @@
<script setup lang="ts">
import {formatIsk} from "@/formaters";
interface Props {
amount: number;
}
const { amount } = defineProps<Props>();
</script>
<template>
<span :class="amount >= 0 ? 'text-emerald-400' : 'text-amber-700'">{{ formatIsk(amount) }}</span>
</template>