UNPKG

wll-product-card

Version:

Este es un paquete de pruebas de espliegue NPM

16 lines (15 loc) 513 B
import { IProduct, InicialValues, onChangeArgs } from "../interfaces/interfaces"; interface useProductArgs { product: IProduct; onChange?: (arg: onChangeArgs) => void; value?: number; initialValues?: InicialValues; } export declare const useProduct: ({ onChange, product, value, initialValues }: useProductArgs) => { counter: number; isMaxCountReached: boolean; maxCount: number | undefined; increaseBy: (value: number) => void; reset: () => void; }; export {};