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

0.0.2-rc • Public • Published

AA-TS-Product-Card

This is a test package to deploy in NPM

Andy Alvarado

Example

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

Readme

Keywords

none

Package Sidebar

Install

npm i aa-ts-product-card

Weekly Downloads

0

Version

0.0.2-rc

License

MIT

Unpacked Size

155 kB

Total Files

41

Last publish

Collaborators

  • cafeino