"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var Checkbox_1 = require("office-ui-fabric-react/lib/Checkbox");
var CheckboxBasicExample = (function (_super) {
    tslib_1.__extends(CheckboxBasicExample, _super);
    function CheckboxBasicExample() {
        var _this = _super.call(this) || this;
        _this.state = {
            isChecked: false
        };
        _this._onCheckboxChange = _this._onCheckboxChange.bind(_this);
        return _this;
    }
    CheckboxBasicExample.prototype.render = function () {
        var isChecked = this.state.isChecked;
        return (React.createElement("div", null,
            React.createElement(Checkbox_1.Checkbox, { label: 'Standard checkbox', onChange: this._onCheckboxChange, ariaDescribedBy: 'descriptionID' })));
    };
    CheckboxBasicExample.prototype._onCheckboxChange = function (ev, isChecked) {
        console.log("The option has been changed to " + isChecked + ".");
    };
    return CheckboxBasicExample;
}(React.Component));
exports.CheckboxBasicExample = CheckboxBasicExample;
//# sourceMappingURL=Checkbox.Basic.Example.js.map