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

19 lines (18 loc) 978 B
import { ComponentWrapper, ElementWrapper } from '@awsui/test-utils-core/dom'; import ExpandableSectionWrapper from '../expandable-section'; export default class SideNavigationWrapper extends ComponentWrapper { static rootSelector: string; findHeaderLink(): ElementWrapper<HTMLAnchorElement> | null; findLinkByHref(href: string): ElementWrapper<HTMLAnchorElement> | null; findActiveLink(): ElementWrapper<HTMLAnchorElement> | null; findItemByIndex(index: number): SideNavigationItemWrapper | null; } export declare class SideNavigationItemWrapper extends ElementWrapper { findSection(): ExpandableSectionWrapper | null; findExpandableLinkGroup(): ExpandableSectionWrapper | null; findDivider(): ElementWrapper | null; findLink(): ElementWrapper<HTMLAnchorElement> | null; findSectionTitle(): ElementWrapper | null; findItemByIndex(index: number): SideNavigationItemWrapper | null; findItems(): Array<SideNavigationItemWrapper>; }