import { ReactNode } from 'react'; import { ProductCellInterface } from '@Components/Product/interface'; export interface ProductColor { /** * * Product name */ name: string; /** * * Product SKU for color */ code: string; /** * * Array or String of manequin images per color */ manequins: string[] | string; /** * * CSS color for background */ swatch: string; /** * * Stringified localised price */ price: string; /** * * Stringified localised price */ wasPrice?: string; /** * * Product rating. String or Integer */ rating?: number | string; } export interface ProductsInterface { /** * * Title to be shown in nav */ title: string; /** * * Product Lifestyle image */ lifestyle: string; /** * * Array of product colors */ colors: ProductColor[]; } export interface ComponentProps { children?: ReactNode; /** * * Array of Products in collection */ products: ProductCellInterface[]; } export interface NavListProps { /** * * Current active nav item */ activeTab: number; /** * * Number of products in collection */ itemCount: number; }