UNPKG

jp-product-card

Version:

Este es un paquete de prueba de despligue en NPM

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