import * as React from 'react';
import { View } from 'react-native';
import { RadioButton, RadioGroup } from '@fluentui/react-native';
import { RADIOGROUP_TEST_COMPONENT, RADIOGROUP_NO_A11Y_LABEL_COMPONENT, RADIOGROUP_TEST_COMPONENT_LABEL, RADIOGROUP_ACCESSIBILITY_LABEL, FIRST_RADIO_BUTTON, SECOND_RADIO_BUTTON, THIRD_RADIO_BUTTON, FOURTH_RADIO_BUTTON, FIRST_RADIO_BUTTON_ACCESSIBILITY_LABEL, SECOND_RADIO_BUTTON_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 RadioGroupLegacyE2ETest = () => {
    return (React.createElement(View, null,
        React.createElement(Stack, { style: stackStyle },
            React.createElement(RadioGroup, { label: "RadioGroup for E2E Testing - Ally Label Set", accessibilityLabel: RADIOGROUP_ACCESSIBILITY_LABEL, ...testProps(RADIOGROUP_TEST_COMPONENT) },
                React.createElement(RadioButton, { content: "Option A", buttonKey: "A", accessibilityLabel: FIRST_RADIO_BUTTON_ACCESSIBILITY_LABEL, ...testProps(FIRST_RADIO_BUTTON) }),
                React.createElement(RadioButton, { content: SECOND_RADIO_BUTTON_LABEL, buttonKey: "B", ...testProps(SECOND_RADIO_BUTTON) }),
                React.createElement(RadioButton, { content: "Option C (disabled)", buttonKey: "C", disabled: true, ...testProps(THIRD_RADIO_BUTTON) }),
                React.createElement(RadioButton, { content: "Option D", buttonKey: "C", ...testProps(FOURTH_RADIO_BUTTON) })),
            React.createElement(RadioGroup, { label: RADIOGROUP_TEST_COMPONENT_LABEL, ...testProps(RADIOGROUP_NO_A11Y_LABEL_COMPONENT) },
                React.createElement(RadioButton, { content: "Option W", buttonKey: "W" }),
                React.createElement(RadioButton, { content: "Option X", buttonKey: "X" }),
                React.createElement(RadioButton, { content: "Option Y (disabled)", buttonKey: "C", disabled: true }),
                React.createElement(RadioButton, { content: "Option Z", buttonKey: "Z" })))));
};
//# sourceMappingURL=RadioGroupLegacyE2ETest.js.map