import { defineComponent, PropType } from 'vue'; import { model, blockProps, SbBlock, } from '@schlechtenburg/core'; import { getDefaultData, ImageData, ImageProps, } from './util'; import './style.scss'; export default defineComponent({ name: 'sb-image-display', model, props: { ...blockProps, data: { type: (null as unknown) as PropType, default: getDefaultData, }, }, setup(props: ImageProps) { return () =>
{props.data.alt}
; }, });