Image
type Image = { alt?: string; fit?: 'cover' | 'contain' | 'fill' | 'scale-down' | 'none'; flush?: boolean; frame?: boolean; id?: string; key?: string; position?: | 'top left' | 'top' | 'top right' | 'left' | 'center' | 'right' | 'bottom left' | 'bottom' | 'bottom right'; src: string; type: 'Image';} & BlockProps;
Type Declaration
Section titled “Type Declaration”optional alt: string;
optional fit: "cover" | "contain" | "fill" | "scale-down" | "none";
flush?
Section titled “flush?”optional flush: boolean;
frame?
Section titled “frame?”optional frame: boolean;
optional id: string;
optional key: string;
position?
Section titled “position?”optional position: | "top left" | "top" | "top right" | "left" | "center" | "right" | "bottom left" | "bottom" | "bottom right";
src: string;
type: 'Image';