<template>
    <v-list
        dense
    >
        <tree-list-item 
            v-for="(item, key) in items"
            :key="'item-' + key"
            :item="item"
        />
    </v-list>
</template>

<script>
    export default {
        props: {
            items: {required: true},
        },

        components: {
            TreeListItem: require('./Item/TreeListItem').default,
        },

        name: 'TreeList',        
    }
</script>
