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

19 lines 658 B
import { ButtonDropdownProps, HighlightProps } from '../interfaces'; interface UseHighlightedMenuOptions { items: ButtonDropdownProps.Items; hasExpandableGroups: boolean; isInRestrictedView?: boolean; } interface UseHighlightedMenuApi extends HighlightProps { moveHighlight: (direction: -1 | 1, loop?: boolean) => void; expandGroup: (group?: ButtonDropdownProps.ItemGroup) => void; collapseGroup: () => void; reset: () => void; setIsUsingMouse: (isUsingMouse: boolean) => void; } export default function useHighlightedMenu({ items, hasExpandableGroups, isInRestrictedView }: UseHighlightedMenuOptions): UseHighlightedMenuApi; export {};