"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.E2ELinkLegacyTest = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const react_native_1 = require("react-native");
const react_native_2 = require("@fluentui/react-native");
const e2e_testing_1 = require("@fluentui-react-native/e2e-testing");
const stack_1 = require("@fluentui-react-native/stack");
const styles_1 = require("../Common/styles");
const TestProps_1 = require("../Common/TestProps");
const E2ELinkLegacyTest = () => {
    const doPress = () => {
        react_native_1.Alert.alert('Alert.', 'You have been alerted.');
    };
    return (React.createElement(stack_1.Stack, { style: styles_1.stackStyle },
        React.createElement(react_native_2.Link, { url: "https://www.bing.com/", content: "Link with Accessibility Label.", accessibilityLabel: e2e_testing_1.LINK_ACCESSIBILITY_LABEL, ...(0, TestProps_1.testProps)(e2e_testing_1.LINK_TEST_COMPONENT) }),
        React.createElement(react_native_2.Link, { url: "https://www.bing.com/", onPress: doPress, content: e2e_testing_1.LINK_TEST_COMPONENT_LABEL, ...(0, TestProps_1.testProps)(e2e_testing_1.LINK_NO_A11Y_LABEL_COMPONENT) })));
};
exports.E2ELinkLegacyTest = E2ELinkLegacyTest;
//# sourceMappingURL=E2ELinkLegacyTest.js.map