<template>
    <div v-bind="$props" class="bg-dark-700 overflow-hidden flex items-center justify-center">
        <Skeleton :enabled="!src" class="!h-full !w-full !rounded-none">
            <img class="cursor-pointer bg-dark-700 ring-1 w-full h-full object-cover" :src="src" :alt="alt" />
        </Skeleton>
    </div>
</template>

<script lang="ts" setup>
import type { HTMLAttributes } from "vue";

interface Props extends /* @vue-ignore */ HTMLAttributes {
    src?: string;
    alt?: string;
}

defineProps<Props>();
</script>