@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
16 lines • 704 B
TypeScript
import { ButtonDropdownProps, HighlightProps } from '../interfaces';
interface UseHighlightedMenuOptions {
items: ButtonDropdownProps.Items;
hasExpandableGroups: boolean;
isInRestrictedView?: boolean;
}
interface UseHighlightedMenuApi extends HighlightProps {
moveHighlight: (direction: -1 | 1) => void;
expandGroup: (group?: ButtonDropdownProps.ItemGroup) => void;
collapseGroup: () => void;
reset: () => void;
setIsUsingMouse: (isUsingMouse: boolean) => void;
}
export default function useHighlightedMenu({ items, hasExpandableGroups, isInRestrictedView, }: UseHighlightedMenuOptions): UseHighlightedMenuApi;
export {};
//# sourceMappingURL=use-highlighted-menu.d.ts.map