@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
6 lines • 667 B
TypeScript
import { SideNavigationProps } from './interfaces';
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 {};