UNPKG

ma-product-card-lop

Version:

Este es un ejemplo de despliegue de NPM.

16 lines (15 loc) 510 B
import { Product, onChangeArgs, InitialValues } from '../interfaces/interfaces'; interface useProductArgs { product: Product; onChange?: (args: onChangeArgs) => void; value?: number; initialValue?: InitialValues; } export declare const useProduct: ({ onChange, product, value, initialValue }: useProductArgs) => { counter: number; isMaxCountReached: boolean; maxCount: number | undefined; increaseBy: (value: number) => void; reset: () => void; }; export {};