0.0.1 • Published 2 years ago
sel-product-card v0.0.1
SEL-Product-Card
This is a NPM deployment test package
Sebastian Lopez
Example
import {
ProductCard,
ProductImage,
ProductTitle,
ProductButtons
} from 'sel-product-card';
<ProductCard
product={product}
initialValues={{
count: 4,
maxCount: 10,
}}
>
{({
count,
increaseBy,
isMaxCountReached,
product,
reset,
maxCount,
}) => (
<>
<ProductImage />
<ProductTitle />
<ProductCard.Buttons />
</>
)}
</ProductCard>
0.0.1
2 years ago