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

1.0.0-rc • Public • Published

aleph-product-card

Este es un paquete para pruebas de despliegue NPM

import { ProductCard, ProductImage, ProductTitle, ProductButtons } from 'aleph-product-card'
<ProductCard
  product={{
  id: '0e81de6f-8795-4b2c-bf54-55f897ea1098',
  title: 'React',
  image: './react.png'
}}
  initialValues={{
    count: 4,
    maxCount: 20,
  }}
>
  {
    ({
      count,
      isMaxCountReached,
      onIncreaseBy,
      onReset,
      maxCount,
    }) => (
      <>
        <ProductImage />
        <ProductTitle />
        <ProductButtons />
      </>
    )
  }
</ProductCard>

Package Sidebar

Install

npm i aleph-product-card

Weekly Downloads

2

Version

1.0.0-rc

License

MIT

Unpacked Size

161 kB

Total Files

48

Last publish

Collaborators

  • aleph-y