@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
18 lines • 697 B
TypeScript
import { ComponentWrapper, ElementWrapper } from '@awsui/test-utils-core/dom';
import ButtonWrapper from '../button';
export default class CopyToClipboardWrapper extends ComponentWrapper {
static rootSelector: string;
findCopyButton(): ButtonWrapper;
findStatusText(options?: {
popoverRenderWithPortal: boolean;
}): null | ElementWrapper;
/**
* @deprecated Use `findDisplayedText` instead.
*/
findTextToCopy(): null | ElementWrapper;
/**
* Used to get the text displayed next to the copy icon button when `variant='inline'`.
* Returns either the `textToCopy` value or the `textToDisplay` value if it has been set.
*/
findDisplayedText(): null | ElementWrapper;
}