2023-01-05 15:38:22 +03:00
|
|
|
<script setup lang="ts">
|
2023-07-02 19:26:23 +03:00
|
|
|
defineOptions({
|
|
|
|
inheritAttrs: false,
|
|
|
|
})
|
|
|
|
|
2023-04-26 23:46:00 +03:00
|
|
|
const { blurhash = '', src, srcset, shouldLoadImage = true } = defineProps<{
|
|
|
|
blurhash?: string
|
2023-01-05 15:38:22 +03:00
|
|
|
src: string
|
|
|
|
srcset?: string
|
2023-02-15 13:34:23 +03:00
|
|
|
shouldLoadImage?: boolean
|
2023-01-05 15:38:22 +03:00
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2023-04-26 23:46:00 +03:00
|
|
|
<UnLazyImage v-bind="$attrs" :blurhash="blurhash" :src="src" :src-set="srcset" :lazy-load="shouldLoadImage" auto-sizes />
|
2023-01-05 15:38:22 +03:00
|
|
|
</template>
|