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

1.0.0-rc • Public • Published

BlackSheep

Product card

Paquetes de pruebas de despliegue NPM

Juan Carlos Moreno Sanchez

Example

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

Package Sidebar

Install

npm i blacksheep-product-card

Homepage

http:

Weekly Downloads

4

Version

1.0.0-rc

License

MIT

Unpacked Size

151 kB

Total Files

40

Last publish

Collaborators

  • carlos.moreno.sbs