import * as React from 'react';
import { View } from 'react-native';
import { RadioGroupV1 as RadioGroup, Radio } from '@fluentui-react-native/radio-group';
export var SubtextRadioGroup = function () {
    // Client's example onChange function
    var onChange = React.useCallback(function (key) {
        console.log(key);
    }, []);
    return (React.createElement(View, null,
        React.createElement(RadioGroup, { label: "Select a fruit:", defaultValue: "X", onChange: onChange },
            React.createElement(Radio, { label: "Apple", subtext: "This is a type of fruit", value: "W" }),
            React.createElement(Radio, { label: "Pear", subtext: "This is a type of fruit", value: "X" }),
            React.createElement(Radio, { label: "Banana", subtext: "This is a type of fruit", value: "C" }),
            React.createElement(Radio, { label: "Tomato", subtext: "This is a type of fruit", value: "Z" }))));
};
//# sourceMappingURL=SubtextRadioGroup.js.map