0.1.0 • Published 2 years ago

ajla-product-card v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

AJLA PRODUCT CARD

This is a test package to deploy in NPM

Example

<ProductCard
  product={product1}
  className="bg-dark"
  initialValues={{
    count: 4,
    maxCounter: 8,
  }}
>
  {({reset}) => (
    <>
      <ProductCard.Image className="custom-image" />
      <ProductCard.Title className="text-white" />
      <ProductCard.Buttons className="custom-buttons" />
      <button onClick={reset}>Reset</button>
    </>
  )}
</ProductCard>