import { ReactNode } from 'react'; export interface ChildrenProp { children?: ReactNode; } export interface DirectionProp { /** * Direction * * @default "left" **/ direction?: "left" | "right"; } export interface LogoProps { /** * Logo * * @default {} **/ logo?: MediaProps; } export interface LayoutProps extends ChildrenProp, DirectionProp { /** * Type * * @default 2 **/ layout?: 2 | 3; } export interface MediaProps { /** * Alt tag */ alt: string; /** * Aspect */ aspect: string; /** * Source */ src: string; } export interface ProductProps { /** * CTA text */ cta: string; /** * Product Description */ description: string; /** * Product Name */ name: string; /** * Product Price */ price: string; /** * Product href */ href: string; } export interface StoryContentHighlightProps extends LayoutProps, LogoProps { /** * Product * * @default {} */ product: ProductProps; } export interface StoryProductHighlightProps extends StoryContentHighlightProps { /** * Array of media * * @default [] */ medias: MediaProps[]; /** * Product * * @default {} */ product: ProductProps; /** * Title * * @default '' */ title?: string; }