@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
24 lines (23 loc) • 1.02 kB
TypeScript
import { ComponentWrapper, ElementWrapper } from "@awsui/test-utils-core/selectors";
import FlashWrapper from './flash';
export default class FlashbarWrapper extends ComponentWrapper {
static rootSelector: string;
/**
* Returns the individual flashes of this flashbar.
*
* If the items are stacked, only the item at the top of the stack is returned.
*/
findItems(): import("@awsui/test-utils-core/selectors").MultiElementWrapper<FlashWrapper>;
/**
* Returns the individual flashes of this flashbar given the item type.
*
* If the items are stacked, only the item at the top of the stack is returned.
*
* If an item is loading its type is considered as "info".
*/
findItemsByType(type: 'success' | 'warning' | 'info' | 'error'): import("@awsui/test-utils-core/selectors").MultiElementWrapper<FlashWrapper>;
/**
* Returns the toggle button that expands and collapses stacked notifications.
*/
findToggleButton(): ElementWrapper;
}