v8-ui-components
Version:
A component lib for v8 storefront apps
20 lines (19 loc) • 704 B
TypeScript
import { IViewportTypes } from "../TwoBannerContainer/TwoBannerContainer.interfaces";
import { ICmsPosition, IPromotion } from "../LargePromotion/LargePromotion.interfaces";
export declare type ISmallCarouselComponentProps = ISmallCarouselProps & ISmallCarouselConnectedProps;
export interface ISmallCarouselProps {
items: ISmallCarouselChild[];
timeout: number;
cmsPosition?: ICmsPosition;
}
export declare type ISmallCarouselChild = any;
export interface ISmallCarouselState {
isInContainer: true;
viewport: IViewportTypes;
}
export interface ISmallCarouselConnectedProps {
promotions: {
[name: string]: IPromotion;
};
googleAnalytics: any;
}