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

1.0.0-rc • Public • Published

TSDX React User Guide

import { ProductCard } from 'fp-product-card';

<ProductCard
  product={product}
  initialValues={{
    count: 4,
    maxCount: 10,
  }}
>
  {({ reset, count, isMaxCountReached, increaseBy }) => (
    <>
      <ProductCard.Image />
      <ProductCard.Title />
      <ProductCard.Buttons />
    </>
  )}
</ProductCard>;

Readme

Keywords

Package Sidebar

Install

npm i fp-product-card

Weekly Downloads

1

Version

1.0.0-rc

License

MIT

Unpacked Size

157 kB

Total Files

41

Last publish

Collaborators

  • stealkiller