"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultRadioGroup = void 0;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const react_native_1 = require("react-native");
const radio_group_1 = require("@fluentui-react-native/radio-group");
const DefaultRadioGroup = () => {
    // Client's example onChange function
    const [unselectedAccessibilityPrefix, setPrefix] = React.useState('Unselected');
    const onChange = React.useCallback((key) => {
        console.log(key);
        if (key == 'W')
            setPrefix('');
        else
            setPrefix('Unselected');
    }, []);
    return (React.createElement(react_native_1.View, null,
        React.createElement(radio_group_1.RadioGroupV1, { label: "RadioGroup Sample", onChange: onChange },
            React.createElement(radio_group_1.Radio, { label: "Option W", value: "W", accessibilityLabel: unselectedAccessibilityPrefix + 'Test Accessibility Label' }),
            React.createElement(radio_group_1.Radio, { label: "Option X", value: "X" }),
            React.createElement(radio_group_1.Radio, { label: "Option Y", value: "Y" }),
            React.createElement(radio_group_1.Radio, { label: "Option Z", value: "Z" }))));
};
exports.DefaultRadioGroup = DefaultRadioGroup;
//# sourceMappingURL=DefaultRadioGroup.android.js.map