"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RequiredRadioGroup = void 0;
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var react_native_1 = require("react-native");
var radio_group_1 = require("@fluentui-react-native/radio-group");
var RequiredRadioGroup = function () {
    // Client's example onChange function
    var onChange = React.useCallback(function (key) {
        console.log(key);
    }, []);
    return (React.createElement(react_native_1.View, null,
        React.createElement(radio_group_1.RadioGroupV1, { required: true, label: "Required RadioGroup", defaultValue: "X", onChange: onChange },
            React.createElement(radio_group_1.Radio, { label: "Option W", value: "W", accessibilityLabel: "Test Accessibility Label" }),
            React.createElement(radio_group_1.Radio, { label: "Option X", value: "X" }),
            React.createElement(radio_group_1.Radio, { label: "Option Y", value: "C" }),
            React.createElement(radio_group_1.Radio, { label: "Option Z", value: "Z" }))));
};
exports.RequiredRadioGroup = RequiredRadioGroup;
//# sourceMappingURL=RequiredRadioGroup.js.map