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

0.0.2-rc • Public • Published

ED-Product-Card

Este es un paquete de pruebas de despliegue en NPM

Simple tarjeta de un producto para poder usarse en un Marketplace.

Ejemplo:

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

const App = () => {
  return (
    <>
      <ProductCard
        product={ product }
        initialValues={{
            count: 6,
            maxCount: 10,
        }}
      >
        {
          ({ reset, count, isMaxCountReached, maxCount, increaseBy  }) => (
              <>
                  <ProductImage />
                  <ProductTitle />
                  <ProductButtons />
              </>
          )
        }
      </ProductCard>
    </>
  );
};

/ed-product-card/

    Package Sidebar

    Install

    npm i ed-product-card

    Weekly Downloads

    1

    Version

    0.0.2-rc

    License

    MIT

    Unpacked Size

    152 kB

    Total Files

    40

    Last publish

    Collaborators

    • ceduardd