UNPKG

gml-product-cart

Version:

this is a test package to do deploy NPM

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