office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
22 lines • 1.32 kB
JavaScript
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 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
;