fd-product-card
v1.0.0-rc
Published
Package de pruebas
Downloads
156
Readme
FD-Product-Card
Package de pruebas
Fede Aguilera
import {
ProductCard,
ProductTitle
ProductImage,
ProductButtons
} from 'fd-product-card'
<ProductCard
product={product}
initialValues={{
count: 4,
maxCount: 10
}}
>
{
({ reset, increaseBy, isMaxCountReached, count }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>