<template>
    <v-card
        tile
        flat
        :height="height"
        class="pa-1"
    >
        <files-list-item 
            v-for="(file, index) in files"
            :key="'file-' + index"
            :uploader="uploader"
            :file="file"
        /> 
    </v-card>
</template>


<script>
    export default {
        props: {
            uploader: {required: true},
            height: {default: null},
            files: {default: () => []},
        },

        name: 'FilesList',
    }
</script>