import * as React from 'react';
import { View } from 'react-native';
import { RadioGroupV1 as RadioGroup, Radio } from '@fluentui-react-native/radio-group';
export 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(View, null,
        React.createElement(RadioGroup, { label: "RadioGroup Sample", onChange: onChange },
            React.createElement(Radio, { label: "Option W", value: "W", accessibilityLabel: unselectedAccessibilityPrefix + 'Test Accessibility Label' }),
            React.createElement(Radio, { label: "Option X", value: "X" }),
            React.createElement(Radio, { label: "Option Y", value: "Y" }),
            React.createElement(Radio, { label: "Option Z", value: "Z" }))));
};
//# sourceMappingURL=DefaultRadioGroup.android.js.map