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

1.0.0 • Public • Published

OSMG-Product-Card

This is a testing package for a npm deploy

Oscar MG

Example

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

Package Sidebar

Install

npm i osmg-product-card

Weekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

151 kB

Total Files

40

Last publish

Collaborators

  • oscar-galindo