@builder.io/sdk-vue
Version:
Builder.io SDK for Vue
24 lines (23 loc) • 586 B
TypeScript
import type { BuilderBlock } from '../../types/builder-block';
export interface ImageProps {
attributes?: string;
highPriority?: boolean;
className?: string;
image: string;
sizes?: string;
lazy?: boolean;
height?: number;
width?: number;
altText?: string;
title?: string;
backgroundSize?: 'cover' | 'contain';
backgroundPosition?: string;
srcset?: string;
aspectRatio?: number;
lockAspectRatio?: boolean;
children?: any;
fitContent?: boolean;
builderBlock?: BuilderBlock;
noWebp?: boolean;
src?: string;
}