@react-pakistan/react-ui-collection
Version:
React UI Collection built upon React Storybook
85 lines (84 loc) • 1.78 kB
TypeScript
import { IBreadcrumb } from '../breadcrumbs';
import { IShopImage } from '../shop-image-gallery';
export interface IShopItemProps {
/**
* Image Url property for the Image component
*/
imageUrl: string;
/**
* Alt Image property for the Image component
*/
altImage: string;
/**
* Width property for the Main Image component
*/
widthMainImage: string;
/**
* Height property for the Main Image component
*/
heightMainImage: string;
/**
*
*/
shopImageGallery: Array<IShopImage>;
/**
*
*/
breadcrumbs: Array<IBreadcrumb>;
/**
* Rating property for Star Rating component
*/
rating: number;
/**
* Color property for Star Rating component
*/
starRatedColor: string;
/**
* Total number of stars for Star Rating component
*/
numberOfStars: number;
/**
* Dimensions for stars for Star Rating component
*/
starDimension?: string;
/**
* Color property for H3 component
*/
colorH3?: string;
/**
* Heading for H3 component
*/
headingH3: string;
/**
* Color property for H3 Price component
*/
colorH3Price?: string;
/**
* Heading for H3 Price component
*/
headingH3Price?: string;
/**
*
*/
colorPalettes: Array<string>;
/**
*
*/
sizePalettes: Array<string>;
/**
* Counter proptery for Counter component
*/
counter: number;
/**
* Color property for Icon component
*/
iconColor: string;
/**
* Color property for Button Text component
*/
colorButtonText: string;
/**
* Button Text for the Whislit Icon Button component
*/
buttonText: string;
}