v8-ui-components
Version:
A component lib for v8 storefront apps
34 lines (33 loc) • 1.35 kB
TypeScript
import { ContentAlign, IImageSize } from "../../LargeComponents/HeroBanner/HeroBanner.interfaces";
import { IThemeInterface } from "v8-theme-interfaces/lib/theme.interfaces";
import { IContainerChildProps } from "../../LargeComponents/TwoBannerContainer/TwoBannerContainer.interfaces";
import { CMSComponentNames } from "../../../Context";
export interface IImageWithContentStyledProps extends IContainerChildProps {
contentAlignment: ContentAlign;
theme: IThemeInterface;
maxHeight?: string;
}
export interface IImageWithContentContentStyledProps extends IContainerChildProps {
textAlignment: ContentAlign;
theme: IThemeInterface;
}
export declare type Breakpoint = "mobile" | "tablet" | "desktop";
export interface IImageWithContentBackgroundProps extends IContainerChildProps {
imageSizes: IImageSize;
}
export interface IImageWithContentProps extends IContainerChildProps {
ImagePropsSizes: IImageSize;
ImageAlignment: "left" | "right";
ContentAlignment: ContentAlign;
HeadingText: string;
BodyText: string;
ButtonText: string;
Link: string;
LinkUrl: string;
}
export interface IImageWithContentCmsObject {
type: "Template";
data: IImageWithContentProps;
componentName: typeof CMSComponentNames.ImageWithContent;
componentKey: string;
}