UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

13 lines (12 loc) 474 B
export interface ScrollbarContextValue { hasThumb: boolean; scrollbar: HTMLDivElement | null; onThumbChange: (thumb: HTMLDivElement | null) => void; onThumbPointerUp: () => void; onThumbPointerDown: (pointerPos: { x: number; y: number; }) => void; onThumbPositionChange: () => void; } export declare const ScrollbarProvider: import("react").Context<ScrollbarContextValue | null>, useScrollbarContext: () => ScrollbarContextValue;