MCPcopy Create free account
hub / github.com/microsoft/SandDance / getIconClassName

Function getIconClassName

docs/app/js/sanddance-app.js:28150–28161  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

28148 display: "inline-block"
28149};
28150function getIconClassName(name) {
28151 var className = "";
28152 var icon = (0, _icons.getIcon)(name);
28153 if (icon) className = (0, _mergeStyles.mergeStyles)(icon.subset.className, defaultIconStyles, {
28154 selectors: {
28155 "::before": {
28156 content: '"' + icon.code + '"'
28157 }
28158 }
28159 });
28160 return className;
28161}
28162
28163},{"@uifabric/merge-styles":"7c43M","./icons":"4X00Z","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"l8ssX":[function(require,module,exports) {
28164var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected