UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

18 lines 1.28 kB
define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/Button", "office-ui-fabric-react/lib/TextField", "./TextField.Examples.scss"], function (require, exports, tslib_1, React, Button_1, TextField_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var TextFieldAutoCompleteExample = /** @class */ (function (_super) { tslib_1.__extends(TextFieldAutoCompleteExample, _super); function TextFieldAutoCompleteExample() { return _super !== null && _super.apply(this, arguments) || this; } TextFieldAutoCompleteExample.prototype.render = function () { return (React.createElement("form", { action: "", className: "docs-TextFieldExample" }, React.createElement(TextField_1.TextField, { label: "Fill in and submit this form. The page will reload and autocomplete suggestions will appear.", name: "example", autoComplete: "on" }), React.createElement(Button_1.PrimaryButton, { type: "submit" }, "Submit"))); }; return TextFieldAutoCompleteExample; }(React.Component)); exports.TextFieldAutoCompleteExample = TextFieldAutoCompleteExample; }); //# sourceMappingURL=TextField.AutoComplete.Example.js.map