UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

19 lines 1.11 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { PrimaryButton } from 'office-ui-fabric-react/lib/Button'; import { TextField } from 'office-ui-fabric-react/lib/TextField'; import './TextField.Examples.scss'; 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, { label: "Fill in and submit this form. The page will reload and autocomplete suggestions will appear.", name: "example", autoComplete: "on" }), React.createElement(PrimaryButton, { type: "submit" }, "Submit"))); }; return TextFieldAutoCompleteExample; }(React.Component)); export { TextFieldAutoCompleteExample }; //# sourceMappingURL=TextField.AutoComplete.Example.js.map