@uifabric/experiments
Version:
Experimental React components for building experiences for Office 365.
25 lines • 1.29 kB
JavaScript
define(["require", "exports", "tslib", "react", "../../../Utilities"], function (require, exports, tslib_1, React, Utilities_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var getClassNames = Utilities_1.classNamesFunction();
var ShimmerGapBase = /** @class */ (function (_super) {
tslib_1.__extends(ShimmerGapBase, _super);
function ShimmerGapBase(props) {
return _super.call(this, props) || this;
}
ShimmerGapBase.prototype.render = function () {
var _a = this.props, height = _a.height, styles = _a.styles, widthInPercentage = _a.widthInPercentage, widthInPixel = _a.widthInPixel, borderStyle = _a.borderStyle, theme = _a.theme;
this._classNames = getClassNames(styles, {
theme: theme,
height: height,
widthInPixel: widthInPixel,
widthInPercentage: widthInPercentage,
borderStyle: borderStyle
});
return React.createElement("div", { className: this._classNames.root });
};
return ShimmerGapBase;
}(Utilities_1.BaseComponent));
exports.ShimmerGapBase = ShimmerGapBase;
});
//# sourceMappingURL=ShimmerGap.base.js.map