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

0.0.2 • Public • Published

Nav-Product-Card

This is an test package

Ejemplo

import { ProductCard } from "nav-product-card";
<ProductCard 
    product={product}
    initialValues={{
        count : 4,
        maxCount : 10,
    }}
>
    {
        ({ 
            reset, 
            count, 
            increaseBy, 
            isMaxCountReached 
        }) => (
            <>
                <ProductCard.Image />
                <ProductCard.Title />
                <ProductCard.Buttons />
            </>
        )
    }
</ProductCard>

Package Sidebar

Install

npm i nav-product-card

Weekly Downloads

75

Version

0.0.2

License

MIT

Unpacked Size

155 kB

Total Files

40

Last publish

Collaborators

  • nestor_navarro