"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");
require("./TextField.Examples.scss");
var TextFieldIconExample = /** @class */ (function (_super) {
    tslib_1.__extends(TextFieldIconExample, _super);
    function TextFieldIconExample() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this._onChanged = function (text) {
            console.log(text);
        };
        return _this;
    }
    TextFieldIconExample.prototype.render = function () {
        return (React.createElement("div", { className: "docs-TextFieldExample" },
            React.createElement(TextField_1.TextField, { label: "TextField with an icon", iconProps: { iconName: 'Calendar' }, onChanged: this._onChanged })));
    };
    return TextFieldIconExample;
}(React.Component));
exports.TextFieldIconExample = TextFieldIconExample;
//# sourceMappingURL=TextField.Icon.Example.js.map