@react-pakistan/react-ui-collection
Version:
React UI Collection built upon React Storybook
81 lines (80 loc) • 1.7 kB
TypeScript
import { IBreadcrumb } from '../breadcrumbs';
export interface IShopItemsSummaryProps {
/**
*
*/
iconIsSelected: boolean;
/**
*
*/
breadcrumbs: Array<IBreadcrumb>;
/**
* Color property for H4 component
*/
colorH3?: string;
/**
* Text for H4 component
*/
itemsSummaryHeadingH3: string;
/**
* Line Color for HR component
*/
lineColor?: string;
/**
* Array of Shop Items for Shop Items Summary component
*/
shopItems: Array<IShopItem>;
/**
* Color property for H5 component
*/
colorH5?: string;
/**
* Color property for Text component
*/
colorText?: string;
/**
* Color property for H3 component
*/
colorH3Price?: string;
/**
* Color property for Text component
*/
colorTextPrice?: string;
/**
* Background Color property for Button component
*/
backgroundColorButton: string;
/**
* 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;
/**
* Array of pagination
*/
pagination: Array<string>;
}
export interface ISize {
[]: string;
}
export interface IShopItem {
id: string;
itemImage: string;
itemImageAlt: string;
itemName: string;
itemCategory: string;
itemCurrency: string;
itemSalesPrice: string;
itemRegularPrice: string;
itemSizes: Array<ISize>;
buttonLabel: string;
favIcon: string;
favIconText: string;
}