UNPKG

jf-product-card

Version:

Este es un paquete de pruebas de npm

16 lines (15 loc) 498 B
import { Product, OnChangeArgs, InitialValues } from '../interfaces/interfaces'; interface PropsProduct { product: Product; onChange?: (args: OnChangeArgs) => void; value?: number; initialValues?: InitialValues; } export declare const useProduct: ({ onChange, product, value, initialValues }: PropsProduct) => { count: number; changeCount: (value: number) => void; maxCount: number | null; isCountReaced: boolean; reset: () => void; }; export {};