/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ /** * Represents additional configuration options for the `autoScroll` options of the `useDraggable` hook and `Draggable` component. */ export interface AutoScrollOptions { /** * Set to `false` to disable the `autoScroll` feature. */ enabled?: boolean; /** * Allows the user to toggle `autoScroll` in a specific direction. */ direction?: { horizontal: boolean; vertical: boolean; }; /** * Overrides the calculated element used for boundary detection, used to calculate the `autoScroll` velocity. */ boundaryElementRef?: React.RefObject | null; }