office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
21 lines • 1.23 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var Button_1 = require("office-ui-fabric-react/lib/Button");
var TextField_1 = require("office-ui-fabric-react/lib/TextField");
require("./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_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
;