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 __());
    };
})();
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
define(["require", "exports", "react", "office-ui-fabric-react/lib/TextField", "office-ui-fabric-react/lib/Utilities"], function (require, exports, React, TextField_1, Utilities_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var TextFieldBasicExample = (function (_super) {
        __extends(TextFieldBasicExample, _super);
        function TextFieldBasicExample() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        TextFieldBasicExample.prototype.render = function () {
            return (React.createElement("div", null,
                React.createElement(TextField_1.TextField, { addonString: 'https://', label: 'Default TextField', onChanged: this._onChanged }),
                React.createElement(TextField_1.TextField, { label: 'Disabled TextField', disabled: true, placeholder: 'Placeholder text' }),
                React.createElement(TextField_1.TextField, { label: 'Required TextField', required: true }),
                React.createElement(TextField_1.TextField, { label: 'TextField with a placeholder', placeholder: 'Now I am a Placeholder', ariaLabel: 'Please enter text here' }),
                React.createElement(TextField_1.TextField, { label: 'TextField with an icon', iconProps: { iconName: 'calendar' } }),
                React.createElement(TextField_1.TextField, { label: 'Textfield with an addon', addonString: 'https://' }),
                React.createElement(TextField_1.TextField, { label: 'Multiline TextField', multiline: true, rows: 4, iconProps: { iconName: 'calendar' } }),
                React.createElement(TextField_1.TextField, { label: 'Multiline TextField Unresizable', multiline: true, resizable: false }),
                React.createElement(TextField_1.TextField, { label: 'Multiline TextField with auto adjust height', multiline: true, autoAdjustHeight: true }),
                React.createElement(TextField_1.TextField, { label: 'Underlined TextField', underlined: true }),
                React.createElement(TextField_1.TextField, { label: 'Underlined TextField Disabled', underlined: true, disabled: true }),
                React.createElement(TextField_1.TextField, { label: 'Borderless TextField', borderless: true, placeholder: 'No borders here, folks.' }),
                React.createElement(TextField_1.TextField, { label: 'Multiline Borderless TextField', multiline: true, rows: 4, borderless: true, placeholder: 'Example TextField without a border' })));
        };
        TextFieldBasicExample.prototype._onChanged = function (text) {
            console.log(text);
        };
        return TextFieldBasicExample;
    }(React.Component));
    __decorate([
        Utilities_1.autobind
    ], TextFieldBasicExample.prototype, "_onChanged", null);
    exports.TextFieldBasicExample = TextFieldBasicExample;
});

//# sourceMappingURL=TextField.Basic.Example.js.map
