UNPKG

@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

27 lines 998 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 const dom_1 = require("@awsui/test-utils-core/dom"); const radio_button_1 = require("../radio-button"); const styles_selectors_js_1 = require("../../../tiles/styles.selectors.js"); class TileWrapper extends dom_1.ComponentWrapper { findRadioButton() { return new radio_button_1.default(this.getElement()); } findLabel() { return this.findRadioButton().findLabel(); } findDescription() { return this.findRadioButton().findDescription(); } findImage() { return this.findByClassName(styles_selectors_js_1.default.image); } findNativeInput() { return this.findRadioButton().findNativeInput(); } } TileWrapper.rootSelector = styles_selectors_js_1.default['tile-container']; exports.default = TileWrapper; //# sourceMappingURL=tile.js.map