"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var TextField_1 = require("office-ui-fabric-react/lib/TextField");
var Utilities_1 = require("office-ui-fabric-react/lib/Utilities");
require("./TextField.Examples.scss");
var TextFieldIconExample = /** @class */ (function (_super) {
    tslib_1.__extends(TextFieldIconExample, _super);
    function TextFieldIconExample() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    TextFieldIconExample.prototype.render = function () {
        return (React.createElement("div", { className: 'ms-TextFieldExample' },
            React.createElement(TextField_1.TextField, { label: 'TextField with an icon', iconProps: { iconName: 'Calendar' }, onChanged: this._onChanged })));
    };
    TextFieldIconExample.prototype._onChanged = function (text) {
        console.log(text);
    };
    tslib_1.__decorate([
        Utilities_1.autobind
    ], TextFieldIconExample.prototype, "_onChanged", null);
    return TextFieldIconExample;
}(React.Component));
exports.TextFieldIconExample = TextFieldIconExample;
//# sourceMappingURL=TextField.Icon.Example.js.map