UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

20 lines 1.4 kB
define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/TextField", "./TextField.Examples.scss"], function (require, exports, tslib_1, React, TextField_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var TextFieldUnderlinedExample = /** @class */ (function (_super) { tslib_1.__extends(TextFieldUnderlinedExample, _super); function TextFieldUnderlinedExample() { return _super !== null && _super.apply(this, arguments) || this; } TextFieldUnderlinedExample.prototype.render = function () { return (React.createElement("div", { className: "docs-TextFieldExample" }, React.createElement(TextField_1.TextField, { label: "Standard:", underlined: true }), React.createElement(TextField_1.TextField, { label: "Disabled:", underlined: true, disabled: true }), React.createElement(TextField_1.TextField, { label: "Required:", underlined: true, required: true }), React.createElement(TextField_1.TextField, { label: "With error message:", underlined: true, errorMessage: "Error message" }))); }; return TextFieldUnderlinedExample; }(React.Component)); exports.TextFieldUnderlinedExample = TextFieldUnderlinedExample; }); //# sourceMappingURL=TextField.Underlined.Example.js.map