UNPKG

@appello/common

Version:

Common package with many useful features for web and mobile development

11 lines (10 loc) 307 B
import type { Dispatch, SetStateAction } from 'react'; interface UseStepReturn { step: number; increment: () => void; decrement: () => void; reset: () => void; setStep: Dispatch<SetStateAction<number>>; } export declare function useStep(initialValue?: number): UseStepReturn; export {};