A reference to a scrollable container element.
Optional
deactivateA delay after which scrollbar is deactivated.
Returns a bounding rect of a track.
Optional
handleMinimum distance between a scrollbar track bounds and a scrollbar handle in the direction of a scrollbar orientation.
Optional
onA handler that is called when a container is being scrolled.
An info about the current state of a scrollbar. The info object is reused between handler invocations.
Optional
orientationThe orientations of a scrollbar track along which a scrollbar handle can be dragged.
Props of the useScrollbar hook.