UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

20 lines 1.17 kB
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 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, { label: 'Standard:', underlined: true }), React.createElement(TextField, { label: 'Disabled:', underlined: true, disabled: true }), React.createElement(TextField, { label: 'Required:', underlined: true, required: true }), React.createElement(TextField, { label: 'With error message:', underlined: true, errorMessage: 'Error message' }))); }; return TextFieldUnderlinedExample; }(React.Component)); export { TextFieldUnderlinedExample }; //# sourceMappingURL=TextField.Underlined.Example.js.map