UNPKG

@faceless-ui/slider

Version:

A React library for building every kind of slider

13 lines (12 loc) 383 B
import { Action } from "./reducer.js"; type Args = { sliderTrackRef: React.MutableRefObject<HTMLDivElement | null>; isFullyScrolled: boolean; isPaused: boolean; enable?: boolean; autoplaySpeed?: number; dispatchSliderState: (action: Action) => void; }; export type UseAutoplay = (args: Args) => null; export declare const useAutoplay: UseAutoplay; export {};