office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
19 lines • 1 kB
JavaScript
import * as tslib_1 from "tslib";
import * as React from 'react';
import { Icon } from 'office-ui-fabric-react/lib/Icon';
import './IconExample.scss';
var IconColorExample = /** @class */ (function (_super) {
tslib_1.__extends(IconColorExample, _super);
function IconColorExample() {
return _super !== null && _super.apply(this, arguments) || this;
}
IconColorExample.prototype.render = function () {
return (React.createElement("div", null,
React.createElement(Icon, { iconName: 'CompassNW', className: 'ms-IconExample ms-IconColorExample-deepSkyBlue' }),
React.createElement(Icon, { iconName: 'Dictionary', className: 'ms-IconExample ms-IconColorExample-greenYellow' }),
React.createElement(Icon, { iconName: 'TrainSolid', className: 'ms-IconExample ms-IconColorExample-salmon' })));
};
return IconColorExample;
}(React.Component));
export { IconColorExample };
//# sourceMappingURL=Icon.Color.Example.js.map