@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
21 lines (20 loc) • 1.2 kB
TypeScript
import { ComponentWrapper, ElementWrapper } from "@awsui/test-utils-core/selectors";
import OptionWrapper from './option';
export default abstract class DropdownHostComponentWrapper extends ComponentWrapper {
abstract findTrigger(): ElementWrapper;
findDropdown(): DropdownContentWrapper;
}
export declare class DropdownContentWrapper extends ComponentWrapper {
findDisabledOptions(): import("@awsui/test-utils-core/selectors").MultiElementWrapper<OptionWrapper>;
findFooterRegion(): ElementWrapper;
findHighlightedAriaLiveRegion(): ElementWrapper;
findHighlightedMatches(): import("@awsui/test-utils-core/selectors").MultiElementWrapper<ElementWrapper>;
findHighlightedOption(): OptionWrapper;
findOpenDropdown(): ElementWrapper;
findOption(optionIndex: number): OptionWrapper;
findOptionByValue(value: string): OptionWrapper;
findOptionInGroup(groupIndex: number, optionIndex: number): OptionWrapper;
findOptions(): import("@awsui/test-utils-core/selectors").MultiElementWrapper<OptionWrapper>;
findOptionsContainer(): ElementWrapper;
findSelectedOptions(): import("@awsui/test-utils-core/selectors").MultiElementWrapper<OptionWrapper>;
}