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

1.0.0-rc • Public • Published

mab-product-card

Ejemplo

import {
  ProductCard,
  ProductImage,
  ProductTitle,
  ProductButtons,
} from 'mab-product-card';

<ProductCard
  product={product}
  initialValues={{
    count: 4,
    maxCount: 10,
  }}
>
  {({ count, maxCount, increaseBy, isMaxCountReached, reset }) => (
    <>
      <ProductImage />
      <ProductTitle />
      <ProductButtons />
    </>
  )}
</ProductCard>

Dependencies (0)

    Dev Dependencies (19)

    Package Sidebar

    Install

    npm i mab-product-card

    Weekly Downloads

    0

    Version

    1.0.0-rc

    License

    MIT

    Unpacked Size

    149 kB

    Total Files

    30

    Last publish

    Collaborators

    • matiasagbenitez