UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

16 lines 973 B
import * as tslib_1 from "tslib"; import * as React from 'react'; import { SpinButton } from 'office-ui-fabric-react/lib/SpinButton'; var SpinButtonBasicWithIconDisabledExample = /** @class */ (function (_super) { tslib_1.__extends(SpinButtonBasicWithIconDisabledExample, _super); function SpinButtonBasicWithIconDisabledExample() { return _super !== null && _super.apply(this, arguments) || this; } SpinButtonBasicWithIconDisabledExample.prototype.render = function () { return (React.createElement("div", { style: { width: '400px' } }, React.createElement(SpinButton, { defaultValue: "0", disabled: true, iconProps: { iconName: 'IncreaseIndentLegacy' }, label: 'Basic SpinButton:', min: 0, max: 100, step: 1 }))); }; return SpinButtonBasicWithIconDisabledExample; }(React.Component)); export { SpinButtonBasicWithIconDisabledExample }; //# sourceMappingURL=SpinButton.BasicWithIconDisabled.Example.js.map