import * as tslib_1 from "tslib";
import * as React from 'react';
import { Checkbox } from 'office-ui-fabric-react/lib/Checkbox';
var CheckboxBasicExample = /** @class */ (function (_super) {
    tslib_1.__extends(CheckboxBasicExample, _super);
    function CheckboxBasicExample(props) {
        var _this = _super.call(this, props) || this;
        _this._onCheckboxChange = _this._onCheckboxChange.bind(_this);
        return _this;
    }
    CheckboxBasicExample.prototype.render = function () {
        return (React.createElement("div", null,
            React.createElement(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));
export { CheckboxBasicExample };
//# sourceMappingURL=Checkbox.Basic.Example.js.map