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

1.0.0-rc • Public • Published

GS-Product-Card

Este es un paquete de pruebas de despliegue en NPM

Gabriel Schvert

Ejemplo

import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'gs-product-card;
<ProductCard
  key={ product.id }
  product={ product }
  initialValues={{
    count: 4,
    // maxCount: 10
  }}
>
  {
    ({ reset, increaseBy, count, maxCount, isMaxCountReached }) => (
      <>
        <ProductImage />
        <ProductTitle />
        <ProductButtons />
      </>
    )
  }
</ProductCard>

Package Sidebar

Install

npm i gs-product-card

Weekly Downloads

2

Version

1.0.0-rc

License

MIT

Unpacked Size

152 kB

Total Files

29

Last publish

Collaborators

  • gabriels1289