A reference to a scrollable container element.
OptionaldeactivateA delay after which the scrollbar is deactivated.
Returns the bounding rect of the scrollbar track.
OptionalhandleThe minimum distance between the bounds of the scrollbar track and the scrollbar handle along the scrollbar orientation.
OptionalonA callback invoked when the container is scrolled.
Information about the current state of the scrollbar. The info object is reused between handler invocations.
OptionalorientationThe orientation of the scrollbar track along which the scrollbar handle can be dragged.
Props for the useScrollbar hook.