28 lines
1.3 KiB
JavaScript
28 lines
1.3 KiB
JavaScript
define(["require", "exports", "tslib", "react", "../../Utilities"], function (require, exports, tslib_1, React, Utilities_1) {
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.DocumentCardDetailsBase = void 0;
|
|
var getClassNames = (0, Utilities_1.classNamesFunction)();
|
|
/**
|
|
* {@docCategory DocumentCard}
|
|
*/
|
|
var DocumentCardDetailsBase = /** @class */ (function (_super) {
|
|
tslib_1.__extends(DocumentCardDetailsBase, _super);
|
|
function DocumentCardDetailsBase(props) {
|
|
var _this = _super.call(this, props) || this;
|
|
(0, Utilities_1.initializeComponentRef)(_this);
|
|
return _this;
|
|
}
|
|
DocumentCardDetailsBase.prototype.render = function () {
|
|
var _a = this.props, children = _a.children, styles = _a.styles, theme = _a.theme, className = _a.className;
|
|
this._classNames = getClassNames(styles, {
|
|
theme: theme,
|
|
className: className,
|
|
});
|
|
return React.createElement("div", { className: this._classNames.root }, children);
|
|
};
|
|
return DocumentCardDetailsBase;
|
|
}(React.Component));
|
|
exports.DocumentCardDetailsBase = DocumentCardDetailsBase;
|
|
});
|
|
//# sourceMappingURL=DocumentCardDetails.base.js.map
|