ca-product-card
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-rc • Public • Published

Ejemplo

import { ProductCard, ProductBottons, ProductImage, ProductTitle } from '../.';
<ProductCard
  key={product.id}
  product={product}
  className="bg-dark"
  initialValues={{
    count: 4,
    maxCount: 10,
  }}
>
  {({ reset }) => (
    <>
      <ProductImage className="custom-image" />
      <ProductTitle className="text-white"></ProductTitle>
      <ProductBottons className="custom-buttons"></ProductBottons>

      <button onClick={reset}>Reset</button>
    </>
  )}
</ProductCard>

Package Sidebar

Install

npm i ca-product-card

Weekly Downloads

0

Version

1.0.0-rc

License

MIT

Unpacked Size

151 kB

Total Files

41

Last publish

Collaborators

  • chris-amaya