<template>
    <v-sheet
        :width="width"
        :height="height"
        outlined
        rounded
    >
        <component
            :is="'curs-preview-' + curs.type"
            :curs="curs"
            :app="app"
            :height="height"
            :width="width"
        >
        </component>
    </v-sheet>
</template>

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

        name: 'CursPreview',
    }
</script>