MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / formatLabel

Function formatLabel

code/styling/public/app.js:7483–7487  ·  view source on GitHub ↗
(label, warning$$1)

Source from the content-addressed store, hash-verified

7481};
7482
7483var formatLabel = function (label, warning$$1) {
7484 var prefix = warning$$1 ? warningEmoji + ' ' : reactEmoji + ' ';
7485 var suffix = warning$$1 ? ' Warning: ' + warning$$1 : '';
7486 return '' + prefix + label + suffix;
7487};
7488
7489var beginMark = function (markName) {
7490 performance.mark(formatMarkName(markName));

Callers 1

endMarkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected