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