define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/ChoiceGroup"], function (require, exports, tslib_1, React, ChoiceGroup_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var ChoiceGroupBasicExample = /** @class */ (function (_super) {
        tslib_1.__extends(ChoiceGroupBasicExample, _super);
        function ChoiceGroupBasicExample(props) {
            var _this = _super.call(this, props) || this;
            _this._onChange = function (ev, option) {
                console.dir(option);
            };
            _this.state = {
                imageKey: ''
            };
            return _this;
        }
        ChoiceGroupBasicExample.prototype.render = function () {
            return (React.createElement("div", null,
                React.createElement(ChoiceGroup_1.ChoiceGroup, { defaultSelectedKey: 'B', options: [
                        {
                            key: 'A',
                            text: 'Option A',
                            'data-automation-id': 'auto1'
                        },
                        {
                            key: 'B',
                            text: 'Option B',
                            ariaLabel: 'Custom aria-label'
                        },
                        {
                            key: 'C',
                            text: 'Option C',
                            disabled: true
                        },
                        {
                            key: 'D',
                            text: 'Option D',
                            disabled: true
                        }
                    ], onChange: this._onChange, label: 'Pick one', required: true })));
        };
        return ChoiceGroupBasicExample;
    }(React.Component));
    exports.ChoiceGroupBasicExample = ChoiceGroupBasicExample;
});
//# sourceMappingURL=ChoiceGroup.Basic.Example.js.map