Package Exports
- pr-product-cart
- pr-product-cart/dist/index.js
- pr-product-cart/dist/pr-product-cart.esm.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pr-product-cart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
PR_product_cart
This is a test NPM package deployed just for learning.
PRC
Example
import {ProductCart, ProductImage, ProductTitle, ProductButtons} from 'pr-product-card'
<ProductCart
product={product}
initialValues={{
count: 4,
maxCount: 10
}}
>
{
({ count, increaseBy, isMaxCountReached, maxCount, reset }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCart>