0.0.1 • Published 2 years ago

as-product-card v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

AS-Product-Card

This is a package of test to release in NPM

Armando Salamanca Ayon

Exemple

import {ProductCard,ProductImage,ProductTitle,ProductButtons} from "as-product-card";
<ProductCard
        product={product}
        initialValues = {{
            count:3,
            //maxCount:12,
        }}
      >
        {
          ({reset,maxCount,isMaxCountReached,count,increaseBy})=>(
            <>
              <ProductImage/>
              <ProductTitle/>
              <ProductButtons addButton="button-add" subtractButton = "button-subtract"/>
            </>
          )
        }
</ProductCard>