"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HorizontalRadioGroup = void 0;
var tslib_1 = require("tslib");
var React = tslib_1.__importStar(require("react"));
var react_native_1 = require("react-native");
var react_native_2 = require("@fluentui/react-native");
var radio_group_1 = require("@fluentui-react-native/radio-group");
var HorizontalRadioGroup = 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, { layout: 'horizontal', label: "Horizontal RadioGroup", defaultValue: "X", onChange: onChange },
            React.createElement(radio_group_1.Radio, { label: "Apple", value: "W" }),
            React.createElement(radio_group_1.Radio, { label: "Pear", value: "X" }),
            React.createElement(radio_group_1.Radio, { label: "Banana", value: "C" }),
            React.createElement(radio_group_1.Radio, { label: "Orange", value: "Z" })),
        React.createElement(react_native_2.Separator, null),
        React.createElement(radio_group_1.RadioGroupV1, { layout: 'horizontal-stacked', label: "Horizontal-Stacked RadioGroup", defaultValue: "X", onChange: onChange },
            React.createElement(radio_group_1.Radio, { label: "Apple", value: "W" }),
            React.createElement(radio_group_1.Radio, { label: "Pear", value: "X" }),
            React.createElement(radio_group_1.Radio, { label: "Banana", value: "C" }),
            React.createElement(radio_group_1.Radio, { label: "Orange", value: "Z" }))));
};
exports.HorizontalRadioGroup = HorizontalRadioGroup;
//# sourceMappingURL=HorizontalRadioGroup.js.map