<template>
    <v-card
        :width="width"
        :height="height"
        tile
        flat
    >
        <component
            :is="'curs-open-' + curs.type"
            :curs="curs"
            :app="app"
            :height="height"
            :width="width"
        >
        </component>
    </v-card>
</template>

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

        name: 'CursPreview',
    }
</script>