Files
starface-outlook-sync-addin/node_modules/@fluentui/react/lib/components/DocumentCard/DocumentCardLogo.base.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

28 lines
1.1 KiB
JavaScript

import { __extends } from "tslib";
import * as React from 'react';
import { Icon } from '../../Icon';
import { classNamesFunction, initializeComponentRef } from '../../Utilities';
var getClassNames = classNamesFunction();
/**
* {@docCategory DocumentCard}
*/
var DocumentCardLogoBase = /** @class */ (function (_super) {
__extends(DocumentCardLogoBase, _super);
function DocumentCardLogoBase(props) {
var _this = _super.call(this, props) || this;
initializeComponentRef(_this);
return _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, { iconName: logoIcon })));
};
return DocumentCardLogoBase;
}(React.Component));
export { DocumentCardLogoBase };
//# sourceMappingURL=DocumentCardLogo.base.js.map