"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SubtextRadioGroup = 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 SubtextRadioGroup = 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, { label: "Select a fruit:", defaultValue: "X", onChange: onChange },
            React.createElement(radio_group_1.Radio, { label: "Apple", subtext: "This is a type of fruit", value: "W" }),
            React.createElement(radio_group_1.Radio, { label: "Pear", subtext: "This is a type of fruit", value: "X" }),
            React.createElement(radio_group_1.Radio, { label: "Banana", subtext: "This is a type of fruit", value: "C" }),
            React.createElement(radio_group_1.Radio, { label: "Tomato", subtext: "This is a type of fruit", value: "Z" }))));
};
exports.SubtextRadioGroup = SubtextRadioGroup;
//# sourceMappingURL=SubtextRadioGroup.js.map