<script setup>
import { computed } from "vue";

const props = defineProps({
    linkArr: {
        type: Array,
        required: true,
    },
});

const keys = ["name", "link"];
</script>

<template>
    <RouterLink
        class="bdr-2 bg-bg_primary"
        v-for="(row, rowIndex) in linkArr"
        :key="rowIndex"
        :to="row.link"
    >
        {{ row.name }}
    </RouterLink>
</template>
