UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

23 lines (21 loc) 1.25 kB
var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; define(["require", "exports", "react", "../../../../index", "./SearchBox.Small.Example.scss"], function (require, exports, React, index_1) { "use strict"; var SearchBoxSmallExample = (function (_super) { __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(index_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