<template>    
    <v-avatar 
        v-if="curs.my_image" 
        :size="size"
    >
        <v-img 
            :src="curs.my_image"
        >
        </v-img>
    </v-avatar>

    <span 
        v-else
    >
        -
    </span>
</template>

<script>
    export default {
        props: {
            curs: {required: true},
            size: {default: 32},
        },

        name: 'CursPreviewImage',
    }
</script>