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

7 lines (6 loc) 676 B
import { SideNavigationProps } from './interfaces'; declare type ExpandableItem = SideNavigationProps.Section | SideNavigationProps.ExpandableLinkGroup; export declare function hasActiveLink(items: ReadonlyArray<SideNavigationProps.Item>, activeHref: string): boolean; export declare function generateExpandableItemsMapping(items: ReadonlyArray<SideNavigationProps.Item>, mapping?: WeakMap<SideNavigationProps.Item, ReadonlyArray<ExpandableItem>>, expandableParents?: ReadonlyArray<ExpandableItem>): WeakMap<SideNavigationProps.Item, ReadonlyArray<ExpandableItem>>; export declare function checkDuplicateHrefs(items: ReadonlyArray<SideNavigationProps.Item>): void; export {};