@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
32 lines • 1.02 kB
TypeScript
import { ComponentWrapper, ElementWrapper } from '@awsui/test-utils-core/dom';
import ButtonWrapper from '../button/index.js';
import ButtonDropdownWrapper from '../button-dropdown/index.js';
import FileInputWrapper from '../file-input/index.js';
import ToggleButtonWrapper from '../toggle-button/index.js';
export default class ButtonGroupWrapper extends ComponentWrapper {
static rootSelector: string;
/**
* Finds all button and menu items.
*/
findItems(): Array<ElementWrapper>;
/**
* Finds a button item by its id.
*/
findButtonById(id: string): null | ButtonWrapper;
/**
* Finds a toggle button item by its id.
*/
findToggleButtonById(id: string): null | ToggleButtonWrapper;
/**
* Finds a file input item by its id.
*/
findFileInputById(id: string): null | FileInputWrapper;
/**
* Finds a menu item by its id.
*/
findMenuById(id: string): null | ButtonDropdownWrapper;
/**
* Finds the currently opened tooltip.
*/
findTooltip(): null | ElementWrapper;
}