import { __assign } from "tslib";
import * as React from 'react';
import { Alert } from 'react-native';
import { Link } from '@fluentui/react-native';
import { Stack } from '@fluentui-react-native/stack';
import { LINK_TEST_COMPONENT, LINK_ACCESSIBILITY_LABEL, LINK_NO_A11Y_LABEL_COMPONENT, LINK_TEST_COMPONENT_LABEL, } from '../../../../E2E/src/LinkLegacy/consts';
import { stackStyle } from '../Common/styles';
import { testProps } from '../Common/TestProps';
export var E2ELinkLegacyTest = function () {
    var doPress = function () {
        Alert.alert('Alert.', 'You have been alerted.');
    };
    return (React.createElement(Stack, { style: stackStyle },
        React.createElement(Link, __assign({ url: "https://www.bing.com/", content: "Link with Accessibility Label.", accessibilityLabel: LINK_ACCESSIBILITY_LABEL }, testProps(LINK_TEST_COMPONENT))),
        React.createElement(Link, __assign({ url: "https://www.bing.com/", onPress: doPress, content: LINK_TEST_COMPONENT_LABEL }, testProps(LINK_NO_A11Y_LABEL_COMPONENT)))));
};
//# sourceMappingURL=E2ELinkLegacyTest.js.map