@bothub-chat/ui
Version:
Bothub UI Components
12 lines (11 loc) • 375 B
TypeScript
import { ScrollbarRef } from '../scrollbar';
export interface UseSliderProps {
options?: ScrollIntoViewOptions;
}
export declare const useSlider: ({ options, }: UseSliderProps) => {
isLeftDisabled: boolean;
isRightDisabled: boolean;
onScrollLeft: () => void;
onScrollRight: () => void;
scrollbarRef: import("react").RefObject<ScrollbarRef | null>;
};