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

24 lines 943 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 selectors_1 = require("@awsui/test-utils-core/selectors"); const abstract_switch_1 = require("../internal/abstract-switch"); const styles_selectors_js_1 = require("../../../toggle/styles.selectors.js"); class ToggleWrapper extends selectors_1.ComponentWrapper { findAbstractSwitch() { return new abstract_switch_1.default(this.getElement()); } findLabel() { return this.findAbstractSwitch().findLabel(); } findNativeInput() { return this.findAbstractSwitch().findNativeInput(); } findDescription() { return this.findAbstractSwitch().findDescription(); } } exports.default = ToggleWrapper; ToggleWrapper.rootSelector = styles_selectors_js_1.default.root; //# sourceMappingURL=index.js.map