20 lines
405 B
Vue
20 lines
405 B
Vue
<template>
|
|
<div class="grid">
|
|
<div v-for="[generalID, general] of list" :key="generalID" class="row">
|
|
{{ general }}
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import type { GeneralListItem } from "@/defs/API/Nation";
|
|
import type { PropType } from "vue";
|
|
|
|
defineProps({
|
|
list: {
|
|
type: Object as PropType<Map<number, GeneralListItem>>,
|
|
required: true,
|
|
},
|
|
});
|
|
</script>
|