@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
21 lines (20 loc) • 755 B
TypeScript
import { ComponentWrapper, ElementWrapper } from '@awsui/test-utils-core/dom';
export default class PromptInputWrapper extends ComponentWrapper {
static rootSelector: string;
findNativeTextarea(): ElementWrapper<HTMLTextAreaElement>;
findActionButton(): ElementWrapper<HTMLButtonElement>;
findSecondaryActions(): ElementWrapper<HTMLDivElement>;
findSecondaryContent(): ElementWrapper<HTMLDivElement>;
/**
* Gets the value of the component.
*
* Returns the current value of the textarea.
*/
getTextareaValue(): string;
/**
* Sets the value of the component and calls the onChange handler.
*
* @param value value to set the textarea to.
*/
setTextareaValue(value: string): void;
}