UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

26 lines 1.27 kB
define(["require", "exports", "tslib", "react", "../../Icon", "../../Utilities"], function (require, exports, tslib_1, React, Icon_1, Utilities_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var getClassNames = Utilities_1.classNamesFunction(); /** * {@docCategory DocumentCard} */ var DocumentCardLogoBase = /** @class */ (function (_super) { tslib_1.__extends(DocumentCardLogoBase, _super); function DocumentCardLogoBase() { return _super !== null && _super.apply(this, arguments) || this; } DocumentCardLogoBase.prototype.render = function () { var _a = this.props, logoIcon = _a.logoIcon, 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 }, React.createElement(Icon_1.Icon, { iconName: logoIcon }))); }; return DocumentCardLogoBase; }(Utilities_1.BaseComponent)); exports.DocumentCardLogoBase = DocumentCardLogoBase; }); //# sourceMappingURL=DocumentCardLogo.base.js.map