UNPKG

@awsui/components-react

Version:

On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en

11 lines 470 B
import { KeyboardEvent } from 'react'; import { TableProps } from '../interfaces'; export declare function useSelectionFocusMove(selectionType: TableProps['selectionType'], totalItems: number): { moveFocusDown?: undefined; moveFocusUp?: undefined; moveFocus?: undefined; } | { moveFocusDown: (event: KeyboardEvent) => void; moveFocusUp: (event: KeyboardEvent) => void; moveFocus: (sourceElement: HTMLElement, fromIndex: number, direction: -1 | 1) => void; };