import * as React from 'react';
import { Alert } from 'react-native';
import { LinkV1 as Link, TextV1 as Text } from '@fluentui/react-native';
import { Stack } from '@fluentui-react-native/stack';
import { stackStyle } from '../Common/styles';
export const InlineLinks = () => {
    const doPress = React.useCallback(() => Alert.alert('Alert.', 'You have been alerted.'), []);
    const doA11yTap = React.useCallback(() => Alert.alert('Alert.', 'You have invoked onA11yTap.'), []);
    return (React.createElement(Stack, { style: stackStyle },
        React.createElement(Text, null,
            "Click",
            ' ',
            React.createElement(Link, { inline: true, onPress: doPress, onAccessibilityTap: doA11yTap }, "this link"),
            ' ',
            "to alert me."),
        React.createElement(Text, null,
            "This",
            ' ',
            React.createElement(Link, { inline: true, onPress: doPress, disabled: true, focusable: true }, "link"),
            ' ',
            "is disabled and not focusable."),
        React.createElement(Text, null,
            "Follow this",
            ' ',
            React.createElement(Link, { inline: true, url: "https://www.bing.com/" }, "link"),
            ' ',
            "to navigate.")));
};
//# sourceMappingURL=InlineLinksTest.js.map