UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

23 lines (21 loc) 854 B
define(["require", "exports", "../../Styling", "../../Utilities"], function (require, exports, Styling_1, Utilities_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getStyles = Utilities_1.memoizeFunction(function (theme, customStyles) { if (theme === void 0) { theme = Styling_1.getTheme(); } if (customStyles === void 0) { customStyles = undefined; } var iconStyles = { root: Styling_1.mergeStyles([ theme.fonts.icon, { display: 'inline-block' } ]), imageContainer: Styling_1.mergeStyles({ overflow: 'hidden' }) }; return Styling_1.mergeStyleSets(iconStyles, customStyles); }); }); //# sourceMappingURL=Icon.styles.js.map