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

1.0.0-rc • Public • Published

ARSB-Product-Card

este es un paquete de prueba de despliegue NPM

Arnoldo Suárez Bonilla - NI

Ejemplo

import {ProductCard, ProductImage, ProductTitle, ProductButtons} from 'arsubo-shopping-cart'
const product = {
  id: "1",
  title: "Coffee Mug - Card",
  img: "./coffee-mug.png",
};

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

Package Sidebar

Install

npm i arsubo-product-card

Weekly Downloads

0

Version

1.0.0-rc

License

MIT

Unpacked Size

153 kB

Total Files

40

Last publish

Collaborators

  • arsubo