import * as React from 'react';
import { View } from 'react-native';
import { RadioGroupV1 as RadioGroup, Radio } from '@fluentui-react-native/radio-group';
export var RequiredRadioGroup = function () {
    // Client's example onChange function
    var onChange = React.useCallback(function (key) {
        console.log(key);
    }, []);
    return (React.createElement(View, null,
        React.createElement(RadioGroup, { required: true, label: "Required RadioGroup", defaultValue: "X", onChange: onChange },
            React.createElement(Radio, { label: "Option W", value: "W", accessibilityLabel: "Test Accessibility Label" }),
            React.createElement(Radio, { label: "Option X", value: "X" }),
            React.createElement(Radio, { label: "Option Y", value: "C" }),
            React.createElement(Radio, { label: "Option Z", value: "Z" }))));
};
//# sourceMappingURL=RequiredRadioGroup.js.map