<template>
    <v-card
        tile
        flat
        :height="height"
        :width="dtWidth"
        
        :disabled="false"
        class="mx-auto"
    >
        <cs-datatable 
            :datatable="datatable"
            :width="dtWidth"
            :height="height"
        />
    </v-card>
</template>

<script>
    export default {
        props: {
            app: {required: true},
            dataprovider: {required: true},
            datatable: {required: true},
            dtWidth: {required: true},
            height: {default: null},
            width: {default: null},
        },

        components: {
            CsDatatable: require('@CsVueComp/datatable/CsDatatable').default,
        },

        name: 'DataTable',
    }
</script>