office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
19 lines • 1.3 kB
JavaScript
define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/SpinButton"], function (require, exports, tslib_1, React, SpinButton_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var SpinButtonBasicWithIconExample = /** @class */ (function (_super) {
tslib_1.__extends(SpinButtonBasicWithIconExample, _super);
function SpinButtonBasicWithIconExample() {
return _super !== null && _super.apply(this, arguments) || this;
}
SpinButtonBasicWithIconExample.prototype.render = function () {
return (React.createElement("div", { style: { width: '400px' } },
React.createElement(SpinButton_1.SpinButton, { defaultValue: "0", iconProps: { iconName: 'IncreaseIndentLegacy' }, label: 'Basic SpinButton:', min: 0, max: 100, step: 1,
// tslint:disable:jsx-no-lambda
onFocus: function () { return console.log('onFocus called'); }, onBlur: function () { return console.log('onBlur called'); } })));
};
return SpinButtonBasicWithIconExample;
}(React.Component));
exports.SpinButtonBasicWithIconExample = SpinButtonBasicWithIconExample;
});
//# sourceMappingURL=SpinButton.BasicWithIcon.Example.js.map