UNPKG

ng-shopping-cart

Version:

An Angular component library to create shopping carts

17 lines (16 loc) 528 B
import { CartItem } from '../classes/cart-item'; /** * An interface that all `CartShowcase` item components must implement to interop with the `cart-showcase` component. * * For each item a new component is generated dynamically. */ export interface ShowcaseItem { /** * This field will receive the `CartItem` object for the component instance. */ item: CartItem; /** * This field will receive the locale format as received from the parent component. */ format: string; }