import * as tslib_1 from "tslib";
import * as React from 'react';
import { TextField } from 'office-ui-fabric-react/lib/TextField';
import './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, { label: "TextField with an icon", iconProps: { iconName: 'Calendar' }, onChanged: this._onChanged })));
    };
    return TextFieldIconExample;
}(React.Component));
export { TextFieldIconExample };
//# sourceMappingURL=TextField.Icon.Example.js.map