File size: 491 Bytes
0914710
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<template>
  <dl class="grid md:pt-1 md:pb-1" v-for="item in props.statsArray" v-bind:key="item.statName">
    <div class="flex flex-col bg-blue-100 text-center p-1 md:p-2">
      <dt class="order-last font-medium">{{ item.statName }}</dt>
      <dd class="text-lg font-extrabold text-blue-600">{{ item.statValue }}</dd>
    </div>
  </dl>
</template>

<script setup lang="ts">
const props = defineProps<{
  statsArray: Array<{
    statName: string,
    statValue: string
  }>
}>()
</script>