UNPKG

smartstepper

Version:

smart-stepper is a powerful React component that simplifies the creation of multi-step forms with state management, validation, and a flexible UI approach. It utilizes a state machine concept to manage step transitions, ensuring a smooth and controlled us

8 lines (7 loc) 279 B
/// <reference types="react" /> export declare function useScroll<T extends HTMLElement>(): { scrollRef: import("react").RefObject<T>; handleScrollOnElement: (options?: ScrollIntoViewOptions) => void; handleScrollToTopOfPage: () => void; }; export default useScroll;