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

0.0.2 • Public • Published

Test package to deploy to NPM

Example

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

Package Sidebar

Install

npm i brn-product-card

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

149 kB

Total Files

40

Last publish

Collaborators

  • birrein