import type { JSX } from 'react'; /** * Props for the ScrollButton component. * @internal */ export interface ScrollButtonProps { /** * The edge of the scroll container the button is pinned to. */ direction: 'left' | 'right'; /** * Accessible name of the button. */ label: string; /** * Id of the scrollable element the button controls. */ controls: string; /** * Callback fired with the button's direction when it is clicked. */ onScroll: (direction: 'left' | 'right') => void; /** * Additional class name, e.g. to stretch the button over the container height. */ className?: string; /** * Tab index of the button. Use `-1` to keep it out of the tab order when * the scroll container is already reachable by keyboard. */ tabIndex?: number; /** * Name reported by behavior tracking for this button. */ 'data-dt-children-name'?: string; } /** * Overlay button pinned to the left or right edge of a horizontally * scrolling container. The parent must be positioned. * @internal */ export declare function ScrollButton({ direction, label, controls, onScroll, className, tabIndex, 'data-dt-children-name': dataDtChildrenName, }: Readonly): JSX.Element; //# sourceMappingURL=ScrollButton.d.ts.map