"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.E2ELinkLegacyTest = void 0;
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var react_native_1 = require("react-native");
var react_native_2 = require("@fluentui/react-native");
var stack_1 = require("@fluentui-react-native/stack");
var consts_1 = require("../../../../E2E/src/LinkLegacy/consts");
var styles_1 = require("../Common/styles");
var TestProps_1 = require("../Common/TestProps");
var E2ELinkLegacyTest = function () {
    var doPress = function () {
        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, tslib_1.__assign({ url: "https://www.bing.com/", content: "Link with Accessibility Label.", accessibilityLabel: consts_1.LINK_ACCESSIBILITY_LABEL }, (0, TestProps_1.testProps)(consts_1.LINK_TEST_COMPONENT))),
        React.createElement(react_native_2.Link, tslib_1.__assign({ url: "https://www.bing.com/", onPress: doPress, content: consts_1.LINK_TEST_COMPONENT_LABEL }, (0, TestProps_1.testProps)(consts_1.LINK_NO_A11Y_LABEL_COMPONENT)))));
};
exports.E2ELinkLegacyTest = E2ELinkLegacyTest;
//# sourceMappingURL=E2ELinkLegacyTest.js.map