UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

5 lines (4 loc) 595 B
import { ButtonDropdownProps, LinkItem } from '../interfaces'; export declare const isItemGroup: (item: ButtonDropdownProps.ItemGroup | ButtonDropdownProps.Item) => item is ButtonDropdownProps.ItemGroup; export declare const isLinkItem: (item: LinkItem | ButtonDropdownProps.Item | ButtonDropdownProps.ItemGroup) => item is LinkItem; export declare const getHighlightableItems: (items: ButtonDropdownProps.Items, hasExpandableGroups: boolean, isInRestrictedView: boolean, expandedItem?: ButtonDropdownProps.ItemGroup | undefined) => (ButtonDropdownProps.Item | ButtonDropdownProps.ItemGroup)[];