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

1.0.0-rc • Public • Published

Oz-product-card

This is a sample package to deploy to npm.

How to use?

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

Oscar Monroy

Package Sidebar

Install

npm i oz-product-card

Weekly Downloads

1

Version

1.0.0-rc

License

MIT

Unpacked Size

153 kB

Total Files

40

Last publish

Collaborators

  • darkozgeo