"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LinkLegacyTest = 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 E2ELinkLegacyTest_1 = require("./E2ELinkLegacyTest");
var consts_1 = require("../../../../E2E/src/LinkLegacy/consts");
var styles_1 = require("../Common/styles");
var Test_1 = require("../Test");
var Links = 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, { url: "https://www.bing.com/", content: "Click to navigate." }),
        React.createElement(react_native_2.Link, { onPress: doPress, content: "Click to alert." })));
};
var linkSections = [
    {
        name: 'Navigation and Alert',
        testID: consts_1.LINK_TESTPAGE,
        component: Links,
    },
];
var e2eSections = [
    {
        name: 'Link E2E Test',
        component: E2ELinkLegacyTest_1.E2ELinkLegacyTest,
    },
];
var LinkLegacyTest = function () {
    var status = {
        win32Status: 'Beta',
        uwpStatus: 'Experimental',
        iosStatus: 'Experimental',
        macosStatus: 'Beta',
        androidStatus: 'Backlog',
    };
    var description = 'With a Link, users can navigate to another page, window, or Help topic; display a definition; initiate a command; or choose an option. A Link indicates that it can be clicked, typically by being displayed using the visited or unvisited link system colors. Traditionally, Links are underlined as well, but that approach is often unnecessary and falling out of favor to reduce visual clutter.\n\nA Link is the lightest weight clickable control, and is often used to reduce the visual complexity of a design.';
    return React.createElement(Test_1.Test, { name: "Link Legacy Test", description: description, sections: linkSections, status: status, e2eSections: e2eSections });
};
exports.LinkLegacyTest = LinkLegacyTest;
//# sourceMappingURL=LinkLegacyTest.js.map