office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
20 lines • 864 B
JavaScript
import * as tslib_1 from "tslib";
import * as React from 'react';
import { BaseComponent, css } from '../../Utilities';
import { Icon } from '../../Icon';
import * as stylesImport from './DocumentCard.scss';
var styles = stylesImport;
var DocumentCardLogo = /** @class */ (function (_super) {
tslib_1.__extends(DocumentCardLogo, _super);
function DocumentCardLogo() {
return _super !== null && _super.apply(this, arguments) || this;
}
DocumentCardLogo.prototype.render = function () {
var logoIcon = this.props.logoIcon;
return (React.createElement("div", { className: css('ms-DocumentCardLogo', styles.logo) },
React.createElement(Icon, { iconName: logoIcon })));
};
return DocumentCardLogo;
}(BaseComponent));
export { DocumentCardLogo };
//# sourceMappingURL=DocumentCardLogo.js.map