debian-mirror-gitlab/app/assets/javascripts/super_sidebar/components/sidebar_menu.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
417 B
Vue
Raw Normal View History

2023-05-27 22:25:52 +05:30
<script>
import NavItem from './nav_item.vue';
export default {
name: 'SidebarMenu',
components: {
NavItem,
},
props: {
items: {
type: Array,
required: true,
},
},
};
</script>
<template>
<nav class="gl-py-2 gl-relative">
<ul class="gl-px-2 gl-list-style-none">
<nav-item v-for="item in items" :key="`menu-${item.title}`" :item="item" />
</ul>
</nav>
</template>