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

1.0.0-rc • Public • Published

sna-product-card

Este es un paquete de pruebas de despliegue en NPM

Sergi Nicolau

Ejemplo

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

Package Sidebar

Install

npm i sna-product-card

Weekly Downloads

0

Version

1.0.0-rc

License

MIT

Unpacked Size

154 kB

Total Files

29

Last publish

Collaborators

  • senicalm