@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
21 lines • 587 B
TypeScript
import { ButtonDropdownProps } from '../interfaces';
import { TreeIndex } from './create-items-tree';
interface MoveHighlightProps {
startIndex: TreeIndex;
expandedIndex: TreeIndex;
getNext: (index: TreeIndex) => {
index: TreeIndex;
item: ButtonDropdownProps.ItemOrGroup;
parent?: ButtonDropdownProps.ItemOrGroup;
} | null;
hasExpandableGroups: boolean;
isInRestrictedView: boolean;
}
export default function moveHighlight({
startIndex,
expandedIndex,
getNext,
hasExpandableGroups,
isInRestrictedView
}: MoveHighlightProps): TreeIndex | null;
export {};