UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

20 lines 1.05 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 TextFieldBasicExample = /** @class */ (function (_super) { tslib_1.__extends(TextFieldBasicExample, _super); function TextFieldBasicExample() { return _super !== null && _super.apply(this, arguments) || this; } TextFieldBasicExample.prototype.render = function () { return (React.createElement("div", { className: 'docs-TextFieldExample' }, React.createElement(TextField, { label: 'Standard' }), React.createElement(TextField, { label: 'Disabled', disabled: true }), React.createElement(TextField, { label: 'Required ', required: true }), React.createElement(TextField, { label: 'With error message', errorMessage: 'Error message' }))); }; return TextFieldBasicExample; }(React.Component)); export { TextFieldBasicExample }; //# sourceMappingURL=TextField.Basic.Example.js.map