@builder.io/sdk-vue
Version:
Builder.io SDK for Vue
40 lines (39 loc) • 1.27 kB
TypeScript
import { isEditing } from "../../functions/is-editing";
import { filterAttrs } from "../helpers";
/**
* This import is used by the Svelte SDK. Do not remove.
*/
export interface ImgProps {
attributes?: any;
imgSrc?: string;
image?: string;
altText?: string;
backgroundSize?: "cover" | "contain";
backgroundPosition?: "center" | "top" | "left" | "right" | "bottom" | "top left" | "top right" | "bottom left" | "bottom right";
}
declare const _default: import("vue").DefineComponent<Readonly<{
image?: any;
attributes?: any;
backgroundPosition?: any;
backgroundSize?: any;
altText?: any;
imgSrc?: any;
}>, unknown, {
isEditing: typeof isEditing;
filterAttrs: typeof filterAttrs;
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
image?: any;
attributes?: any;
backgroundPosition?: any;
backgroundSize?: any;
altText?: any;
imgSrc?: any;
}>>>, {
readonly image?: any;
readonly attributes?: any;
readonly backgroundPosition?: any;
readonly backgroundSize?: any;
readonly altText?: any;
readonly imgSrc?: any;
}, {}>;
export default _default;