npm.io
1.0.0-rc • Published 4 years ago

ac-product-card

Licence
MIT
Version
1.0.0-rc
Deps
0
Size
148 kB
Vulns
0
Weekly
0

AC-Product-Card

This is a npm package deployment test

Aaron Carrasco

Example:

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

Keywords