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

1.0.0-rc • Public • Published

fr-product-card

This is a test package to be deployed in NPM

Deveser

Example

import {
  ProductCard,
  ProductImage,
  ProductTitle,
  ProductButtons,
} from 'fr-product-card';
export const product = {
  id: '1',
  title: 'Cofee Mug 1',
  image: './coffee-mug.png',
};
<ProductCard
  product={product}
  initialValues={{
    count: 4,
    // maxCount: 10
  }}
>
  {({ reset, increaseBy, isMaxCountReached, counter, maxCount }) => (
    <>
      <ProductImage />
      <ProductTitle />
      <ProductButtons />
    </>
  )}
</ProductCard>

Package Sidebar

Install

npm i fr-product-card

Homepage

deveser.net/

Weekly Downloads

0

Version

1.0.0-rc

License

MIT

Unpacked Size

151 kB

Total Files

40

Last publish

Collaborators

  • soyl3y3nd4