(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],{

/***/ "../core-ui-fabric-samples/lib/component/TextField.js":
/*!************************************************************!*\
  !*** ../core-ui-fabric-samples/lib/component/TextField.js ***!
  \************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var __extends = (this && this.__extends) || (function () {
    var extendStatics = Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
var React = __webpack_require__(/*! react */ "../../node_modules/react/index.js");
var TextField_1 = __webpack_require__(/*! office-ui-fabric-react/lib/TextField */ "../../node_modules/office-ui-fabric-react/lib/TextField.js");
var Icon_1 = __webpack_require__(/*! office-ui-fabric-react/lib/Icon */ "../../node_modules/office-ui-fabric-react/lib/Icon.js");
var TextFieldSamples = /** @class */ (function (_super) {
    __extends(TextFieldSamples, _super);
    function TextFieldSamples() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this._onRenderPrefix = function () {
            return React.createElement("div", null,
                React.createElement(Icon_1.Icon, { iconName: "Contact" }),
                React.createElement("strong", null, "Custom Prefix"));
        };
        _this._onRenderSuffix = function () {
            return React.createElement("div", null,
                React.createElement(Icon_1.Icon, { iconName: "Cat" }),
                React.createElement("strong", null, "Custom Suffix"));
        };
        _this._onGetErrorMessage = function (value) {
            return value && value.indexOf("c") >= 0 ? "We don't like c around here" : undefined;
        };
        return _this;
    }
    TextFieldSamples.prototype.render = function () {
        return (React.createElement("div", { style: { padding: 8 } },
            React.createElement(TextField_1.TextField, { label: "Default Text Field" }),
            React.createElement(TextField_1.TextField, { label: "Disabled Text Field", disabled: true }),
            React.createElement(TextField_1.TextField, { label: "With Description", description: "Here's the description" }),
            React.createElement(TextField_1.TextField, { label: "With Error Message", errorMessage: "Sample Error Message" }),
            React.createElement(TextField_1.TextField, { label: "With Custom Validator", onGetErrorMessage: this._onGetErrorMessage }),
            React.createElement(TextField_1.TextField, { label: "Text Field with Icon", iconProps: { iconName: "Calendar" } }),
            React.createElement(TextField_1.TextField, { label: "Text Field with a Prefix", prefix: "http://" }),
            React.createElement(TextField_1.TextField, { label: "Text Field with custom rendered Prefix", onRenderPrefix: this._onRenderPrefix }),
            React.createElement(TextField_1.TextField, { label: "Text Field with a Suffix", suffix: ".com.au" }),
            React.createElement(TextField_1.TextField, { label: "Text Field with custom rendered Suffix", onRenderSuffix: this._onRenderSuffix })));
    };
    return TextFieldSamples;
}(React.Component));
exports.TextFieldSamples = TextFieldSamples;
exports.default = TextFieldSamples;


/***/ })

}]);
//# sourceMappingURL=2.js.map