office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
19 lines (17 loc) • 1.11 kB
JavaScript
define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/SearchBox", "./SearchBox.Small.Example.scss"], function (require, exports, tslib_1, React, SearchBox_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var SearchBoxSmallExample = (function (_super) {
tslib_1.__extends(SearchBoxSmallExample, _super);
function SearchBoxSmallExample() {
return _super !== null && _super.apply(this, arguments) || this;
}
SearchBoxSmallExample.prototype.render = function () {
return (React.createElement("div", { className: 'ms-SearchBoxSmallExample' },
React.createElement(SearchBox_1.SearchBox, { onChange: function (newValue) { return console.log('SearchBox onChange fired: ' + newValue); }, onSearch: function (newValue) { return console.log('SearchBox onSearch fired: ' + newValue); } })));
};
return SearchBoxSmallExample;
}(React.Component));
exports.SearchBoxSmallExample = SearchBoxSmallExample;
});
//# sourceMappingURL=SearchBox.Small.Example.js.map