mirror of https://github.com/nextcloud/bookmarks
31 lines
517 B
Vue
31 lines
517 B
Vue
<template>
|
|
<AppContentList>
|
|
<BookmarksListItem
|
|
v-for="bookmark in bookmarks"
|
|
:key="bookmark.id"
|
|
:bookmark="bookmark"
|
|
@delete-bookmark="$emit('delete-bookmark')"
|
|
/>
|
|
</AppContentList>
|
|
</template>
|
|
|
|
<script>
|
|
import { AppContentList } from 'nextcloud-vue';
|
|
import BookmarksListItem from './BookmarksListItem';
|
|
|
|
export default {
|
|
name: 'NavigationList',
|
|
components: {
|
|
BookmarksListItem,
|
|
AppContentList
|
|
},
|
|
props: {
|
|
bookmarks: {
|
|
type: Array,
|
|
required: true
|
|
}
|
|
},
|
|
created() {}
|
|
};
|
|
</script>
|